aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/raop_output_plugin.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Simplify setsockopt() casting workaroundDan McGee2011-09-211-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>
* rtsp_client, output/raop: use close_socket() instead of close()Max Kellermann2011-09-201-4/+4
|
* output_plugin: the plugin allocates the audio_output objectMax Kellermann2011-09-191-19/+25
| | | | | | 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.
* output: rename plugin variablesMax Kellermann2011-09-171-1/+1
| | | | Consistent naming.
* output: per-plugin headerMax Kellermann2011-09-171-0/+1
| | | | | Move the "extern" declarations from output_list.c, for more type safety.
* output/raop: don't expose internal structs in public headerMax Kellermann2011-09-171-0/+93
|
* output/raop: remove Audio-Jack-Status checkMax Kellermann2011-08-311-25/+1
| | | | | The value of this is not used, the code is commented out - let's get rid of it.
* output/raop: remove empty function raopcl_stream_connect()Max Kellermann2011-08-311-8/+0
|
* output/raop: cast sendto() parameter to void pointerMax Kellermann2011-08-311-2/+4
| | | | Fix compilation on mingw32.
* rtsp_client: allow parameter "kd" to be NULLMax Kellermann2011-08-311-2/+2
| | | | When the caller isn't interested in the values.
* rtsp_client: don't wait if packet is over dueMax Kellermann2011-08-311-2/+3
| | | | | Check if the time difference is negative. That would have caused sleeping forever.
* output/raop: move code to raop_session_new()Max Kellermann2011-08-301-40/+74
| | | | .. and fix a few memory leaks.
* output/raop: merge raopcl_close() into _finish()Max Kellermann2011-08-301-10/+4
| | | | .. and fix a double free bug.
* output/raop: free the raop_data object in finish()Max Kellermann2011-08-301-0/+1
|
* output/raop: remove from the session when opening failsMax Kellermann2011-08-301-2/+6
|
* output/raop: move code to raop_output_remove()Max Kellermann2011-08-301-3/+14
|
* ntp_server: move code to udp_server.cMax Kellermann2011-08-301-5/+1
|
* output/raop: move RTSP client code to rtsp_client.cMax Kellermann2011-08-291-483/+10
| | | | Restore some of the original file structure from from raop_play.
* ntp_server: use the I/O threadMax Kellermann2011-08-291-23/+9
|
* output/raop: fallback for g_set_error_literal()Max Kellermann2011-08-291-0/+1
| | | | | This function was added in GLib 2.18. Make the plugin compatible with older GLib versions.
* output/raop: move NTP code to separate libraryMax Kellermann2011-08-281-70/+6
|
* output/raop: use GLib byte order macrosMax Kellermann2011-08-241-5/+3
|
* output/raop: use fill_int() in fill_time_...()Max Kellermann2011-08-241-19/+14
| | | | Eliminate duplicate code.
* output/raop: check if the "host" option is presentMax Kellermann2011-08-241-1/+8
| | | | Better than dereferencing NULL.
* output/raop: remove excessive debug messagesMax Kellermann2011-08-241-8/+0
|
* output/raop: consistently use GErrorMax Kellermann2011-08-241-77/+152
|
* output/raop: use GLib heap functionsMax Kellermann2011-08-241-30/+22
|
* output/raop: functions that always succeed return voidMax Kellermann2011-08-241-22/+14
| | | | No point in returning true, and checking that.
* output/raop: rtspcl_connect() returns false on errorMax Kellermann2011-08-241-3/+9
| | | | .. and not -1, which is "true".
* output/raop: error checking in send_control_command()Max Kellermann2011-08-241-6/+13
|
* output/raop: make some allocations staticMax Kellermann2011-08-241-29/+29
| | | | Allocate objects on the stack to reduce heap overhead.
* output/raop: remove unused local variablesMax Kellermann2011-08-241-4/+2
|
* output/raop: make some exec_request parameters constMax Kellermann2011-08-241-7/+10
|
* output/raop: use "char*" for string buffersMax Kellermann2011-08-241-18/+18
| | | | Not unsigned char. Eliminate useless casts.
* output/raop: make send_control_command() staticMax Kellermann2011-08-241-1/+1
| | | | Only used internally.
* output/raop: remove useless test_default_device() implementationMax Kellermann2011-08-241-7/+0
| | | | This defaults to "false" when the method pointer is NULL.
* output/raop: rewrite remove_char_from_stringJonathan Neuschäfer2011-07-251-14/+15
|
* output/raop: use memset() instead of bzero()Max Kellermann2011-07-201-1/+1
| | | | There's no bzero() on WIN32.
* output/raop: include winsock.h on WIN32Max Kellermann2011-07-201-6/+8
|
* output/raop: use GMutex instead of pthread_mutex_tMax Kellermann2011-07-201-23/+22
| | | | Be portable on WIN32.
* output/raop: add missing mutex unlock call in error handlerMax Kellermann2011-07-201-0/+2
|
* copyright year 2011Max Kellermann2011-01-291-1/+1
|
* output/raop: new output pluginDustin Puckett2011-01-281-0/+1427
Remote Audio Output Protocol (RAOP), for Apple devices.