Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2009-01-04 | renaming mixer.h to mixer_api.h | Viliam Mateicka | 2 | -2/+2 | |
2009-01-03 | null, fifo: use GLib instead of utils.h | Max Kellermann | 2 | -7/+8 | |
2009-01-03 | ao: use g_strsplit() instead of strtok_r() | Max Kellermann | 1 | -37/+15 | |
g_strsplit() is more portable than strtok_r(). | |||||
2009-01-02 | alsa: use GLib instead of utils.h | Max Kellermann | 1 | -3/+2 | |
2009-01-02 | jack: use GLib instead of utils.h | Max Kellermann | 1 | -15/+14 | |
2009-01-02 | jack: duplicate jack_get_ports() return values | Max Kellermann | 1 | -3/+4 | |
JACK documentation states: "The caller is responsible for calling free(3) any non-NULL returned value." This does not seem to include the array elements. Duplicate them after jack_get_ports(), and free only the array. Convert JackData.output_ports to non-const. | |||||
2009-01-01 | output plugins: don't include gcc.h | Max Kellermann | 9 | -24/+29 | |
Use GLib's G_GNUC_UNUSED instead of gcc.h's mpd_unused. | |||||
2009-01-01 | null: don't include gcc.h | Max Kellermann | 1 | -4/+7 | |
Use GLib's G_GNUC_UNUSED instead of macros from gcc.h. | |||||
2008-12-31 | Moving mixers to audio outputs | Viliam Mateicka | 2 | -1/+40 | |
2008-12-29 | alsa: use GLib logging | Max Kellermann | 1 | -29/+30 | |
2008-12-29 | jack: use GLib logging | Max Kellermann | 1 | -28/+30 | |
2008-12-29 | fifo: use GLib logging | Max Kellermann | 1 | -21/+24 | |
2008-12-28 | osx_plugin: migrate from pthread to glib threads | Thomas Jansen | 1 | -19/+18 | |
2008-12-23 | shout: fixed bad error message printout | Viliam Mateicka | 1 | -2/+2 | |
2008-12-23 | shout: fixed bad error message printout | Viliam Mateicka | 1 | -3/+3 | |
2008-12-17 | Remove useless statement. | Emanuele Giaquinta | 1 | -1/+0 | |
2008-12-17 | Remove useless computation. After the pthread_cond_wait loop there are at ↵ | Emanuele Giaquinta | 1 | -2/+0 | |
least MIN(od->bufferSize, size) free bytes in the buffer. Thus MIN(od->bufferSize - od->len, size) is always equal to MIN(od->bufferSize, size). | |||||
2008-12-17 | Remove useless statement, curpos is initialized at the beginning of the loop. | Emanuele Giaquinta | 1 | -1/+0 | |
2008-12-17 | Factor computation. | Emanuele Giaquinta | 1 | -4/+6 | |
2008-12-17 | Use MIN. | Emanuele Giaquinta | 1 | -2/+2 | |
2008-12-17 | Call CloseComponent after AudioUnitUninitialize. | Emanuele Giaquinta | 1 | -1/+1 | |
2008-12-09 | ao: use 16 bit sample format | Max Kellermann | 1 | -0/+6 | |
There have been bug reports on MPD regarding 24 bit output via libao/esd. The "ao" plugin does not attempt fall back to 16 bit currently, and thus fails to play 24 bit audio (i.e. all mp3 files). Make it always use 16 bit samples for now, until more bits are well-tested. | |||||
2008-12-08 | osx: use 16 bit sample format | Max Kellermann | 1 | -0/+3 | |
The OS X output does not seem to support 24 bit audio in the way MPD implements it currently. Fall back to 16 bit for now, and schedule 24 bit support on OS X for MPD 0.15. | |||||
2008-12-08 | osx: use GLib instead of utils.h/log.h | Max Kellermann | 1 | -9/+13 | |
One my_usleep() invocation remains, until we find out if we can delete it. | |||||
2008-12-08 | osx: don't use void pointer in arithmetic | Max Kellermann | 1 | -2/+2 | |
Cast AudioBuffer.mData to a "unsigned char*" before adding "curpos". This fixes a gcc warning. | |||||
2008-12-01 | alsa: reverted the default buffer_time to 500 ms | Max Kellermann | 1 | -1/+5 | |
Commit dd7711d8 removed MPD's default ALSA buffer_time. The result was a buffer size which was way too small for playing streams on some sound hardware, and caused skips and distorted sound. Revert the default to 500 ms. | |||||
2008-11-30 | shout: fixed the lame input buffer allocation | Max Kellermann | 1 | -9/+15 | |
"float (*lamebuf)[2] = g_malloc()" does NOT allocate two float* buffers. The formula is even wrong: it should be applied to LAME's output buffer, not its input buffer. Converted "lamebuf" to the two variables "left" and "right", and allocate them independently with the exact buffer size. Set right=left if mono output is configured. | |||||
2008-11-30 | shout_mp3: cast input buffer to int16_t* | Max Kellermann | 1 | -2/+2 | |
It's easier to work with an int16_t* pointer here. | |||||
2008-11-25 | oss: use GLib instead of utils.h/log.h | Max Kellermann | 1 | -55/+56 | |
2008-11-25 | mvp: use GLib instead of utils.h/log.h | Max Kellermann | 1 | -16/+27 | |
2008-11-25 | shout: use GLib instead of utils.h/log.h | Max Kellermann | 4 | -82/+82 | |
2008-11-25 | shout: don't check HAVE_SHOUT | Max Kellermann | 1 | -7/+0 | |
If the shout plugin is disabled, shout_plugin.c isn't compiled at all, no need to check the macro definition. | |||||
2008-11-25 | ao: print error message when ao_open_live() fails | Max Kellermann | 1 | -1/+3 | |
When ao_open_live() failed, MPD would ignore the error code in "errno". Make it print a meaningful error message. | |||||
2008-11-25 | ao: support all libao error codes | Max Kellermann | 1 | -9/+29 | |
The function audioOutputAo_error() did not implement all possible libao error codes. Support the rest of them, and fall back to strerror(). | |||||
2008-11-25 | ao: use GLib instead of utils.h/log.h | Max Kellermann | 1 | -19/+21 | |
2008-11-05 | pulse: removed reconnect interval | Max Kellermann | 1 | -19/+2 | |
The output thread automatically waits some time before retrying to open the device. Don't duplicate this check in the pulse plugin. | |||||
2008-11-05 | pulse: check if connection is open in pulse_cancel() | Max Kellermann | 1 | -0/+3 | |
The pulse plugin crashed with a segmentation fault when the pulse server was killed. | |||||
2008-11-04 | osx: fix gcc warnings | Max Kellermann | 1 | -7/+8 | |
Fix prototypes and unused variables. | |||||
2008-11-04 | osx: adapt to new output plugin API | Max Kellermann | 1 | -19/+15 | |
The OS X output plugin wasn't adapted to the new output plugin yet, because I had no Mac to test... | |||||
2008-11-03 | alsa: initialize "device" with NULL | Max Kellermann | 1 | -2/+1 | |
When using autodetection, AlsaData.device wasn't properly initialized with NULL. This broke autodetection randomly. | |||||
2008-11-01 | alsa, jack: no const pointers for allocated strings | Max Kellermann | 2 | -26/+42 | |
Make the pointers "device" and "name" non-const, so we don't need the xfree() hack. The default value is expressed as NULL. | |||||
2008-10-31 | removed unneed check for protocol in shout plugin, will assume icecast2 ↵ | Alam Arias | 1 | -2/+0 | |
protocol if not exist in config | |||||
2008-10-31 | added prefix to header macros | Max Kellermann | 1 | -2/+2 | |
"LOG_H" is a macro which is also used by ffmpeg/log.h. This is ffmpeg's fault, because short macros should be reserved for applications, but since it's always a good idea to choose prefixed macro names, even for applications, we are going to do that in MPD. | |||||
2008-10-30 | pulse: fix segfault without sink name | Max Kellermann | 1 | -2/+2 | |
Commit d692e9 broke configurations without explicit server or sink configuration. Check for getBlockParam()==NULL. | |||||
2008-10-29 | output: close device on play error | Max Kellermann | 6 | -12/+2 | |
When an output plugin fails to play a chunk, close it. This replaces various manual close() calls in nearly all plugins. | |||||
2008-10-29 | output: use bool for return values and flags | Max Kellermann | 11 | -110/+116 | |
Don't return 0/-1 on success/error, but true/false. Instead of int, use bool for storing flags. | |||||
2008-10-29 | pulse: clear pa_simple pointer in pulse_close() | Max Kellermann | 1 | -0/+1 | |
The pointer becomes invalid due to pa_simple_free(), which may lead to segmentation faults when the output is reopened later. | |||||
2008-10-29 | pulse: use GLib instead of util.h/log.h | Max Kellermann | 1 | -28/+25 | |
Use GLib allocation and logging functions. | |||||
2008-10-29 | pulse: no CamelCase | Max Kellermann | 1 | -48/+49 | |
2008-10-29 | oss: check and override audio_format properly | Max Kellermann | 1 | -0/+7 | |
Don't accept 24 bit audio. Force MPD to use 16 bit if anything other than 8 or 16 bit is selected. |