aboutsummaryrefslogtreecommitdiffstats
path: root/src/output (unfollow)
Commit message (Collapse)AuthorFilesLines
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 Kellermann2-78/+153
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 Kellermann2-20/+20
Not unsigned char. Eliminate useless casts.
2011-08-24output/raop: make send_control_command() staticMax Kellermann2-4/+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-08-23output/pulse: fix deadlock when the stream was suspendedMax Kellermann1-0/+31
Check if the stream is suspended; wake up the main loop when it becomes suspended.
2011-08-23output/pulse: add assertionsMax Kellermann1-0/+30
2011-08-23output/pulse: return 0 on errorMax Kellermann1-1/+1
Not a bool.
2011-08-23pulse/output: fix deadlock when resuming the streamMax Kellermann1-1/+3
Unlock the mainloop in all code paths.
2011-08-23output/httpd: add assertionsMax Kellermann1-1/+17
2011-08-23output/httpd: don't warn on client disconnectMax Kellermann1-1/+8
This warning should only be logged when we really received something. When the client disconnects, G_IO_IN is triggered, and the read returns G_IO_STATUS_EOF.
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 Kellermann2-7/+16
2011-07-20output/raop: use GMutex instead of pthread_mutex_tMax Kellermann2-27/+26
Be portable on WIN32.
2011-07-20output/raop: add missing mutex unlock call in error handlerMax Kellermann1-0/+2
2011-07-20encoder_plugin: add method pre_tag()Max Kellermann2-2/+2
In the "vorbis" plugin, this is a copy of the old flush() method, while flush() gets a lot of code remove, it just sets the "flush" flag and nothing else. It doesn't start a new stream now, which should fix a few problems in some players.
2011-07-20output/httpd: explicitly convert size_t to bool in pause()Max Kellermann1-1/+2
2011-07-20output/alsa: fix SIGFPE when alsa announces a period size of 0Max Kellermann1-0/+8
2011-07-19output/shout: fix a memory leakJonathan Neuschäfer1-1/+1
2011-07-18output/shout: fix a memory leakJonathan Neuschäfer1-12/+16
2011-07-18output/recorder: fix a memory leakJonathan Neuschäfer1-3/+7
2011-07-18output/httpd: add missing g_free in error pathJonathan Neuschäfer1-0/+1
2011-07-18output/ao: add missing g_free in error pathJonathan Neuschäfer1-0/+3
2011-03-23Remove unused headers in Roar plugin.Hans-Kristian Arntzen1-5/+0
Should fix build errors for Win32.
2011-03-18output/httpd: include sys/socket.h only when building with libwrapMax Kellermann1-1/+1
Fixes build failure on WIN32.
2011-03-16RoarAudio output pluginHans-Kristian Arntzen2-0/+370
2011-03-09output/httpd: include sys/socket.h for AF_UNIXUlrich Spörlein1-0/+1
2011-02-28output/oss: disable 24 bit playback on FreeBSDMax Kellermann1-0/+9
See code comment.
2011-02-28output/oss: AFMT_S24_PACKED is little-endianMax Kellermann1-0/+12
According to the Solaris dsp manpage, AFMT_S24_PACKED is little-endian: http://download.oracle.com/docs/cd/E19963-01/821-1475/6nmf5baot/index.html The Minix soundcard.h header says the same.
2011-02-27output/jack: fix crash with mono playbackMax Kellermann1-1/+1
With mono sound, jack_sample_size is smaller than frame_size (4 vs 2 bytes), and "space/jack_sample_size==0". That means mpd_jack_play() will return 0, although no error has occurred.
2011-02-25output/jack: rename variable sample_size to jack_sample_sizeMax Kellermann1-5/+6
2011-02-15Insure proper initialization of stack-allocated struct.Christopher Brannon1-1/+4
Version 1.0.0 of the libao library added a new field to the ao_sample_format struct. It is a char * named matrix. When an ao_sample_format is allocated on the stack, this field contains garbage. The proper course is to insure that is initialized to NULL. NULL indicates that we do not want any mapping. The struct is now initialized using a static initializer, and this technique is compatible with all known versions of libao.
2011-02-09output/shout: add possibility to set urlThomas Jansen1-0/+7
Added a new optional parameter for the shout plugin called "url".
2011-02-09general: whitespace cleanupThomas Jansen3-3/+3
Remove trailing whitespace found by this command: find -name '*.[ch]' | xargs grep "[[:space:]]$"
2011-02-09output/httpd: initialize unflushed_inputThomas Jansen1-0/+1
This fixes the following valgrind warning occuring on the first call of httpd_output_read_page: ==20124== Conditional jump or move depends on uninitialised value(s) ==20124== at 0x425E65: httpd_output_read_page (httpd_output_plugin.c:240) ==20124== by 0x426087: httpd_output_open (httpd_output_plugin.c:279) ==20124== by 0x41D862: ao_open (output_plugin.h:206) ==20124== by 0x41E133: audio_output_task (output_thread.c:590)
2011-01-29copyright year 2011Max Kellermann24-24/+24
2011-01-28output/raop: new output pluginDustin Puckett2-0/+1586
Remote Audio Output Protocol (RAOP), for Apple devices.
2011-01-07output/httpd: define G_LOG_DOMAIN in httpd_client.cMax Kellermann1-0/+3
2011-01-07output/osx: fix up audio format first, then apply it to deviceMax Kellermann1-9/+10
This is a MPD 0.16 regression: when playing a 24 bit file, the switch to 16 bit was made only partially, after mBytesPerPacket and mBytesPerFrame had already been applied. That means mBytesPerFrame referred to 24 bit, and mBitsPerChannel referred to 16 bits. Of course, that cannot work.