aboutsummaryrefslogtreecommitdiffstats
path: root/src/output (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-02-05MixerPlugin: add EventLoop& init() parameterMax Kellermann4-14/+17
2014-01-30Main, OutputThread: increase kernel timer slack (Linux)Max Kellermann1-0/+2
Allows the kernel to combine timer wakeups with other processes, reducing power usage.
2014-01-29OutputThread: move more functions into the AudioOutput classMax Kellermann2-240/+271
2014-01-29output: rename "chunk" to "current_chunk"Max Kellermann4-28/+30
2014-01-29output: move functions into the AudioOutput structMax Kellermann23-328/+281
2014-01-29AudioOutput: make "plugin" a referenceMax Kellermann5-37/+37
2014-01-29AudioOutput: pass plugin to constructorMax Kellermann18-45/+68
Make it "const".
2014-01-28AudioOutput: add constructor and destructorMax Kellermann19-101/+27
2014-01-28output: rename source filesMax Kellermann16-19/+19
2014-01-28output: rename struct audio_output to AudioOutputMax Kellermann31-267/+268
2014-01-28OutputPlugin: rename struct audio_output_plugin to AudioOutputPluginMax Kellermann38-49/+52
2014-01-28OutputAll: convert to class, move instance to class PartitionMax Kellermann10-815/+791
Another big chunk of code for multi-player support.
2014-01-24Mixer*: move to mixer/Max Kellermann9-13/+13
2014-01-24Filter*: move to filter/Max Kellermann4-11/+11
2014-01-24Client*: move to client/Max Kellermann1-1/+1
2014-01-24Config*: move to config/Max Kellermann8-11/+11
2014-01-23output/*: move to output/plugins/Max Kellermann57-17/+3501
2014-01-23Encoder*: move to src/encoderMax Kellermann3-6/+6
.. and move the plugins to src/encoder/plugins/.
2014-01-13copyright year 2014Max Kellermann35-35/+35
2014-01-07util/Alloc: new library replacing GLib's g_malloc()Max Kellermann1-1/+1
2014-01-06event/SocketMonitor: don't close the socket automaticallyMax Kellermann1-0/+3
Users now have to call Close() explicitly. This simplifies using the class, as most users have automatic socket management already, and Steal() had to be used often.
2014-01-06util/Cast: new utility libraryMax Kellermann1-1/+2
2014-01-05output/httpd: move the clients.clear() call to the IOThreadMax Kellermann1-1/+3
This call is not thread-safe.
2014-01-05output/httpd: import GetEventLoop()Max Kellermann2-3/+5
2014-01-04output/httpd: move Bind()/Unbind() to the IOThreadMax Kellermann1-4/+8
Fixes more thread-safety bugs.
2014-01-04output/httpd: move all broadcast operations to the IOThreadMax Kellermann2-11/+76
Add a Page queue to class HttpdOutput, and use DeferredMonitor to flush this queue inside the IOThread. This fixes a thread-safety issue: much of EventLoop is not thread-safe, and the httpd plugin ignored that problem.
2014-01-04output/httpd: use the IOThreadMax Kellermann1-2/+2
Do all I/O in the IOThread and not in the main thread. This solves an upcoming deadlock problem.
2014-01-04output/httpd: move queue size check to HttpdClient::PushPage()Max Kellermann3-18/+6
Don't let the server care for client problems.
2014-01-04output/httpd: wrap the std::list in std::queueMax Kellermann2-6/+16
2014-01-04output/httpd: merge duplicate code to ClearQueue()Max Kellermann2-5/+15
2014-01-04output/httpd: keep track of queue sizeMax Kellermann2-13/+14
Don't iterate the std::list each time.
2013-12-31output/httpd: change "struct" to "class"Max Kellermann3-4/+7
2013-12-31output/httpd: move code to methods Delay(), Play(), Cancel()Max Kellermann2-22/+46
2013-12-31output/httpd: move Cast() into the classMax Kellermann2-25/+23
2013-12-31output/httpd: add methods Init(), Finish()Max Kellermann2-12/+29
2013-12-31output/httpd: use reference instead of pointerMax Kellermann3-14/+14
2013-12-31output/httpd: make the HttpdClient base class "private"Max Kellermann1-1/+1
2013-12-19output/osx: fix typoMax Kellermann1-1/+1
2013-12-19output/osx: use DynamicFifoBuffer instead of struct fifo_bufferMax Kellermann1-26/+21
2013-12-14output/alsa: use new[] instead of g_malloc()Max Kellermann1-6/+5
2013-12-10output/osx: fix build failureLukas Stabe1-3/+3
2013-12-04system/Resolver: sockaddr_to_string() returns std::string()Max Kellermann1-8/+3
No GLib memory allocation.
2013-12-02output/openal: check __APPLE__ instead of HAVE_OSXLukas Stabe1-1/+1
On OSX, the configure-flag --enable-osx is used to enable the unsupported osx output. It sets the HAVE_OSX preprocessor define. src/output/OpenALOutputPlugin.cxx uses this define to determine wether it is building on OSX, and imports different headers (which have nothing to do with the osx output) depending on wether or not it is set.
2013-11-28include cleanup using iwyuMax Kellermann4-10/+1
2013-11-26HttpdOutputPlugin.cxx: fix null pointer dereferenceDenis Krjuchkov1-1/+2
2013-11-11output/httpd: don't use incomplete template argument with libc++Max Kellermann1-0/+5
2013-11-04output/alsa: avoid endless loop in Raspberry Pi workaroundMax Kellermann1-1/+17
See code comment.
2013-11-04Log: add level "DEFAULT"Max Kellermann1-1/+1
Map LogLevel::INFO to G_LOG_LEVEL_INFO, and LogLevel::DEFAULT to G_LOG_LEVEL_MESSAGE. Now client connect/disconnect message are only logged on log_level "secure".
2013-10-30*: update copyright year to 2013Max Kellermann2-2/+2
2013-10-28*: use nullptr instead of NULLMax Kellermann2-18/+18