Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2012-03-01 | audio_format: add DSD sample format | Max Kellermann | 2 | -0/+4 | |
Basic support for Direct Stream Digital. No conversion yet, and no decoder/output plugin support. | |||||
2012-02-13 | output/winmm: remove pointless NULL check | Max Kellermann | 1 | -5/+1 | |
pcm_buffer_get() cannot ever return NULL. | |||||
2012-01-04 | output/osx: fix memory leak after AudioUnitSetProperty() failure | Max Kellermann | 1 | -0/+1 | |
2011-12-24 | output/osx: implement 32 bit playback | Max Kellermann | 1 | -2/+6 | |
2011-12-24 | output/osx: allocate the device in enable() | Max Kellermann | 1 | -102/+116 | |
Keep the device open as long as the output is enabled, but initialize it only when playback starts. | |||||
2011-12-24 | output/osx: clear render buffer when there's not enough data | Max Kellermann | 1 | -2/+3 | |
When we don't have enough data, generate some silence, hoping the input buffer will fill soon. Reducing the render buffer size is not legal. | |||||
2011-12-24 | output/osx: remove sleep call from render callback | Max Kellermann | 1 | -4/+0 | |
Blocking inside the render callback is forbidden, and this sleep call didn't make any sense. | |||||
2011-12-13 | output/openal: improve synchronization | Max Kellermann | 1 | -13/+16 | |
This plugin's use of the "Timer" library was wrong; it added the same amount of virtual data in every iteration in _play(), but did not actually play something. This created an artificial, but useless, delay. This patch implements the method _cancel(), and implements hard-coded sleep values. This is only slightly better, but does not attempt to look sane. | |||||
2011-12-13 | output/openal: move code to inline functions | Max Kellermann | 1 | -9/+25 | |
2011-12-13 | output/openal: use alGetSourcei(AL_BUFFER) to force-unqueue buffers | Max Kellermann | 1 | -14/+4 | |
The implementation of cancel() did not work well: you cannot use alSourceUnqueueBuffers() to unqueue queued buffers, and our function openal_unqueue_buffers() left the OpenAL library in a rather undefined state; nothing was supposed to be queued, but the "filled" variable was not reset. | |||||
2011-12-13 | output/openal: make attribute "filled" unsigned | Max Kellermann | 1 | -1/+1 | |
2011-12-13 | output/openal: remove bogus format check from _open() | Max Kellermann | 1 | -8/+0 | |
The expression "!format" does not make sense, and cannot occur. | |||||
2011-12-13 | output/fifo: implement output_plugin method delay() | Max Kellermann | 1 | -3/+11 | |
2011-12-13 | output/null: implement output_plugin method delay() | Max Kellermann | 1 | -3/+11 | |
2011-12-13 | output/null: don't initialize the "timer" attribute in _init() | Max Kellermann | 1 | -6/+1 | |
Unnecessary overhead. | |||||
2011-12-13 | output/openal: force 16 bit playback, as 8 bit doesn't work | Max Kellermann | 1 | -10/+4 | |
The OpenAL specification says that AL_FORMAT_MONO8 and AL_FORMAT_STEREO8 expect unsigned 8 bit samples, but MPD uses unsigned samples. | |||||
2011-12-13 | winmm_output_plugin: fail if wrong device specified instead of using fallback. | Denis Krjuchkov | 1 | -12/+29 | |
Silently choosing default is misleading and can cause hours of investigation. It's better to fail immediately telling user what is wrong with config. | |||||
2011-10-20 | audio_format: basic support for floating point samples | Max Kellermann | 2 | -0/+4 | |
Support for conversion from float to 16, 24 and 32 bit integer samples. | |||||
2011-10-08 | output/roar: move code to _use_audio_format() | Max Kellermann | 1 | -27/+38 | |
2011-10-08 | output/openal: auto-fallback to mono if channel count is unsupported | Max Kellermann | 1 | -9/+9 | |
.. instead of failing playback completely. | |||||
2011-10-08 | output/alsa: remove "default" case from switch | Max Kellermann | 1 | -3/+6 | |
Allow gcc to warn when a new format isn't supported. | |||||
2011-09-30 | Add support for streaming to a DLNA client | Steven Blackburn | 1 | -5/+35 | |
The Naim Uniti does not appear to support icecast-style streaming of FLAC music but does support the codec from a DLNA server. This change looks for "transferMode.dlna.org: Streaming" in the HTTP request header and responds with something the Uniti (and hopefully other DLNA clients) accepts. The only difference in the DLNA streaming mode is the reponse header and that icecast metadata is disabled. If a client request indicates both modes are supported, the DLNA mode is preferred (as the Uniti says it supports both but then rejects a FLAC ICY stream). Note: This change may be specific to Naim equipment (the only device it was tested on). E.g. the hardcoding of Content-Length which works but is not a logically correct value. The change should be backwards-compatible, so only those clients requesting a DLNA stream will see any difference. | |||||
2011-09-21 | Simplify setsockopt() casting workaround | Dan McGee | 1 | -2/+2 | |
On Win32, the third setsockopt parameter has type (char *) while on POSIX systems it is (void *). However, given that it is a no-op cast to go from a char pointer to a void pointer, we can cast to a char pointer (with a possible const modifier) on all platforms and satisfy the compiler. Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2011-09-20 | socket_util: move sockaddr_to_string() to resolver.c | Max Kellermann | 1 | -1/+1 | |
2011-09-20 | rtsp_client, output/raop: use close_socket() instead of close() | Max Kellermann | 1 | -4/+4 | |
2011-09-20 | fd_util: add function close_socket() | Max Kellermann | 1 | -2/+2 | |
Wrap close(), use closesocket() on WIN32/WinSock. | |||||
2011-09-20 | glib_socket.h: wrap g_io_channel_*_new() calls portably | Max Kellermann | 1 | -5/+2 | |
The server_socket library (used by the httpd output plugin) didn't check for WIN32, that's fixed now. | |||||
2011-09-19 | output_plugin: the plugin allocates the audio_output object | Max Kellermann | 20 | -320/+492 | |
Pass audio_output objects around instead of void pointers. This will give some more control to the plugin, and prepares for non-blocking audio outputs. | |||||
2011-09-19 | configure.ac: add option --enable-solaris-output | Max Kellermann | 1 | -1/+19 | |
Allow enabling the plugin explicitly without running Solaris, to test the build. | |||||
2011-09-18 | output/roar: check return values | Max Kellermann | 1 | -2/+10 | |
Fixes gcc warnings. | |||||
2011-09-18 | output/roar: unknown volume is -1, not 0 | Max Kellermann | 1 | -1/+1 | |
2011-09-18 | output/roar: move code to roar_cancel_locked() and others | Max Kellermann | 1 | -39/+55 | |
Wrap the locking code. | |||||
2011-09-17 | output/roar: use GLib memory allocation functions | Max Kellermann | 1 | -11/+3 | |
GLib has a built-in OOM handler. | |||||
2011-09-17 | output/roar: use config_get_block_string() for temporary | Max Kellermann | 1 | -8/+5 | |
2011-09-17 | output/roar: reorder methods | Max Kellermann | 1 | -14/+14 | |
2011-09-17 | output: rename plugin variables | Max Kellermann | 7 | -7/+7 | |
Consistent naming. | |||||
2011-09-17 | output: per-plugin header | Max Kellermann | 37 | -8/+413 | |
Move the "extern" declarations from output_list.c, for more type safety. | |||||
2011-09-17 | output/pulse: don't expose internal struct in public header | Max Kellermann | 2 | -31/+49 | |
Provide _lock() and _unlock() to wrap all accesses from the mixer plugin. | |||||
2011-09-17 | output/raop: don't expose internal structs in public header | Max Kellermann | 2 | -96/+95 | |
2011-09-17 | output/roar: export volume methods | Max Kellermann | 2 | -14/+57 | |
Use these instead of exposing the internal roar_t struct. | |||||
2011-09-17 | output: rename plugin source files | Max Kellermann | 9 | -0/+0 | |
2011-09-17 | output/pulse: move code to _setup_stream() | Max Kellermann | 1 | -15/+36 | |
2011-09-17 | output/pulse: improve locking | Max Kellermann | 1 | -11/+11 | |
Always lock the main loop when operating on PULSE objects. Document this. | |||||
2011-09-16 | input/curl, output/pulse: fix "unused local variable" warnings | Max Kellermann | 1 | -1/+2 | |
2011-09-09 | conf: add config_dup_block_path() | Max Kellermann | 1 | -14/+9 | |
2011-09-09 | utils: parsePath() returns GError on failure | Max Kellermann | 1 | -3/+3 | |
Better error messages. | |||||
2011-09-09 | conf: get_block_param() returns a const pointer | Max Kellermann | 1 | -1/+1 | |
No caller needs to write. | |||||
2011-09-01 | output/osx: don't drain the buffer when closing | Max Kellermann | 1 | -6/+0 | |
Eliminate an unnecessary source of deadlocks. | |||||
2011-09-01 | output/osx: signal the GCond while mutex is locked | Max Kellermann | 1 | -1/+1 | |
2011-08-31 | output/pulse: reset callbacks before closing stream/context | Max Kellermann | 1 | -0/+10 | |
Fixes assertion failure when a stream callback is invoked too late after a format change. |