aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/raop_output_plugin.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-05-29output/raop: delete the RAOP pluginMax Kellermann1-1056/+0
This plugin is horrible code, I mean it. Last year, I tried hard to fix it, but I figured would take less time to do a full rewrite. Given that I don't even have any device that supports RAOP, I can't do that properly. After 16 months, nobody volunteered for fixing it. Hereby, I delete it, because having no RAOP plugin is better than having this mess. Sorry.
2012-03-01raop_output: fix raop_session inbalanceKurt Van Dijck1-2/+8
raop_session_free must be called from raop_output_finish, not from raop_output_remove. In raop_output_remove, do close the ntp_server & control port. Signed-off-by: Kurt Van Dijck <kurt.van.dijck@skynet.be>
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-20rtsp_client, output/raop: use close_socket() instead of close()Max Kellermann1-4/+4
2011-09-19output_plugin: the plugin allocates the audio_output objectMax Kellermann1-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.
2011-09-17output: rename plugin variablesMax Kellermann1-1/+1
Consistent naming.
2011-09-17output: per-plugin headerMax Kellermann1-0/+1
Move the "extern" declarations from output_list.c, for more type safety.
2011-09-17output/raop: don't expose internal structs in public headerMax Kellermann1-0/+93
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 Kellermann1-483/+10
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 Kellermann1-70/+6
2011-08-24output/raop: use GLib byte order macrosMax Kellermann1-5/+3
2011-08-24output/raop: use fill_int() in fill_time_...()Max Kellermann1-19/+14
Eliminate duplicate code.
2011-08-24output/raop: check if the "host" option is presentMax Kellermann1-1/+8
Better than dereferencing NULL.
2011-08-24output/raop: remove excessive debug messagesMax Kellermann1-8/+0
2011-08-24output/raop: consistently use GErrorMax Kellermann1-77/+152
2011-08-24output/raop: use GLib heap functionsMax Kellermann1-30/+22
2011-08-24output/raop: functions that always succeed return voidMax Kellermann1-22/+14
No point in returning true, and checking that.
2011-08-24output/raop: rtspcl_connect() returns false on errorMax Kellermann1-3/+9
.. and not -1, which is "true".
2011-08-24output/raop: error checking in send_control_command()Max Kellermann1-6/+13
2011-08-24output/raop: make some allocations staticMax Kellermann1-29/+29
Allocate objects on the stack to reduce heap overhead.
2011-08-24output/raop: remove unused local variablesMax Kellermann1-4/+2
2011-08-24output/raop: make some exec_request parameters constMax Kellermann1-7/+10
2011-08-24output/raop: use "char*" for string buffersMax Kellermann1-18/+18
Not unsigned char. Eliminate useless casts.
2011-08-24output/raop: make send_control_command() staticMax Kellermann1-1/+1
Only used internally.
2011-08-24output/raop: remove useless test_default_device() implementationMax Kellermann1-7/+0
This defaults to "false" when the method pointer is NULL.
2011-07-25output/raop: rewrite remove_char_from_stringJonathan Neuschäfer1-14/+15
2011-07-20output/raop: use memset() instead of bzero()Max Kellermann1-1/+1
There's no bzero() on WIN32.
2011-07-20output/raop: include winsock.h on WIN32Max Kellermann1-6/+8
2011-07-20output/raop: use GMutex instead of pthread_mutex_tMax Kellermann1-23/+22
Be portable on WIN32.
2011-07-20output/raop: add missing mutex unlock call in error handlerMax Kellermann1-0/+2
2011-01-29copyright year 2011Max Kellermann1-1/+1
2011-01-28output/raop: new output pluginDustin Puckett1-0/+1427
Remote Audio Output Protocol (RAOP), for Apple devices.