aboutsummaryrefslogtreecommitdiffstats
path: root/src/output (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-10-08output/openal: auto-fallback to mono if channel count is unsupportedMax Kellermann1-9/+9
.. instead of failing playback completely.
2011-10-08output/alsa: remove "default" case from switchMax Kellermann1-3/+6
Allow gcc to warn when a new format isn't supported.
2011-09-30Add support for streaming to a DLNA clientSteven Blackburn1-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-21Simplify setsockopt() casting workaroundDan McGee1-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-20socket_util: move sockaddr_to_string() to resolver.cMax Kellermann1-1/+1
2011-09-20rtsp_client, output/raop: use close_socket() instead of close()Max Kellermann1-4/+4
2011-09-20fd_util: add function close_socket()Max Kellermann1-2/+2
Wrap close(), use closesocket() on WIN32/WinSock.
2011-09-20glib_socket.h: wrap g_io_channel_*_new() calls portablyMax Kellermann1-5/+2
The server_socket library (used by the httpd output plugin) didn't check for WIN32, that's fixed now.
2011-09-19output_plugin: the plugin allocates the audio_output objectMax Kellermann20-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-19configure.ac: add option --enable-solaris-outputMax Kellermann1-1/+19
Allow enabling the plugin explicitly without running Solaris, to test the build.
2011-09-18output/roar: check return valuesMax Kellermann1-2/+10
Fixes gcc warnings.
2011-09-18output/roar: unknown volume is -1, not 0Max Kellermann1-1/+1
2011-09-18output/roar: move code to roar_cancel_locked() and othersMax Kellermann1-39/+55
Wrap the locking code.
2011-09-17output/roar: use GLib memory allocation functionsMax Kellermann1-11/+3
GLib has a built-in OOM handler.
2011-09-17output/roar: use config_get_block_string() for temporaryMax Kellermann1-8/+5
2011-09-17output/roar: reorder methodsMax Kellermann1-14/+14
2011-09-17output: rename plugin variablesMax Kellermann7-7/+7
Consistent naming.
2011-09-17output: per-plugin headerMax Kellermann37-8/+413
Move the "extern" declarations from output_list.c, for more type safety.
2011-09-17output/pulse: don't expose internal struct in public headerMax Kellermann2-31/+49
Provide _lock() and _unlock() to wrap all accesses from the mixer plugin.
2011-09-17output/raop: don't expose internal structs in public headerMax Kellermann2-96/+95
2011-09-17output/roar: export volume methodsMax Kellermann2-14/+57
Use these instead of exposing the internal roar_t struct.
2011-09-17output: rename plugin source filesMax Kellermann9-0/+0
2011-09-17output/pulse: move code to _setup_stream()Max Kellermann1-15/+36
2011-09-17output/pulse: improve lockingMax Kellermann1-11/+11
Always lock the main loop when operating on PULSE objects. Document this.
2011-09-16input/curl, output/pulse: fix "unused local variable" warningsMax Kellermann1-1/+2
2011-09-09conf: add config_dup_block_path()Max Kellermann1-14/+9
2011-09-09utils: parsePath() returns GError on failureMax Kellermann1-3/+3
Better error messages.
2011-09-09conf: get_block_param() returns a const pointerMax Kellermann1-1/+1
No caller needs to write.
2011-09-01output/osx: don't drain the buffer when closingMax Kellermann1-6/+0
Eliminate an unnecessary source of deadlocks.
2011-09-01output/osx: signal the GCond while mutex is lockedMax Kellermann1-1/+1
2011-08-31output/pulse: reset callbacks before closing stream/contextMax Kellermann1-0/+10
Fixes assertion failure when a stream callback is invoked too late after a format change.
2011-08-31output/pulse: add function _delete_stream()Max Kellermann1-5/+16
Merge common code.
2011-08-31output/pulse: use _delete_context()Max Kellermann1-16/+15
Eliminate duplicate code.
2011-08-31output/raop: remove Audio-Jack-Status checkMax Kellermann1-25/+1
The value of this is not used, the code is commented out - let's get rid of it.
2011-08-31output/raop: remove empty function raopcl_stream_connect()Max Kellermann1-8/+0
2011-08-31output/raop: cast sendto() parameter to void pointerMax Kellermann1-2/+4
Fix compilation on mingw32.
2011-08-31rtsp_client: allow parameter "kd" to be NULLMax Kellermann1-2/+2
When the caller isn't interested in the values.
2011-08-31rtsp_client: don't wait if packet is over dueMax Kellermann1-2/+3
Check if the time difference is negative. That would have caused sleeping forever.
2011-08-30output/raop: move code to raop_session_new()Max Kellermann1-40/+74
.. and fix a few memory leaks.
2011-08-30output/raop: merge raopcl_close() into _finish()Max Kellermann1-10/+4
.. and fix a double free bug.
2011-08-30output/raop: free the raop_data object in finish()Max Kellermann1-0/+1
2011-08-30output/raop: remove from the session when opening failsMax Kellermann1-2/+6
2011-08-30output/raop: move code to raop_output_remove()Max Kellermann1-3/+14
2011-08-30ntp_server: move code to udp_server.cMax Kellermann1-5/+1
2011-08-29output/raop: move RTSP client code to rtsp_client.cMax Kellermann2-513/+11
Restore some of the original file structure from from raop_play.
2011-08-29ntp_server: use the I/O threadMax Kellermann1-23/+9
2011-08-29output/raop: fallback for g_set_error_literal()Max Kellermann1-0/+1
This function was added in GLib 2.18. Make the plugin compatible with older GLib versions.
2011-08-28output/raop: move NTP code to separate libraryMax Kellermann2-78/+9
2011-08-27rename 'Timer' to 'struct timer'Jonathan Neuschäfer4-6/+6
2011-08-24output/raop: use GLib byte order macrosMax Kellermann1-5/+3