| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
It's easier to work with an int16_t* pointer here.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
If the shout plugin is disabled, shout_plugin.c isn't compiled at all,
no need to check the macro definition.
|
|
|
|
|
| |
When ao_open_live() failed, MPD would ignore the error code in
"errno". Make it print a meaningful error message.
|
|
|
|
|
|
| |
The function audioOutputAo_error() did not implement all possible
libao error codes. Support the rest of them, and fall back to
strerror().
|
| |
|
|
|
|
|
| |
The output thread automatically waits some time before retrying to
open the device. Don't duplicate this check in the pulse plugin.
|
|
|
|
|
| |
The pulse plugin crashed with a segmentation fault when the pulse
server was killed.
|
|
|
|
| |
Fix prototypes and unused variables.
|
|
|
|
|
| |
The OS X output plugin wasn't adapted to the new output plugin yet,
because I had no Mac to test...
|
|
|
|
|
| |
When using autodetection, AlsaData.device wasn't properly initialized
with NULL. This broke autodetection randomly.
|
|
|
|
|
| |
Make the pointers "device" and "name" non-const, so we don't need the
xfree() hack. The default value is expressed as NULL.
|
|
|
|
| |
protocol if not exist in config
|
|
|
|
|
|
|
| |
"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.
|
|
|
|
|
| |
Commit d692e9 broke configurations without explicit server or sink
configuration. Check for getBlockParam()==NULL.
|
|
|
|
|
| |
When an output plugin fails to play a chunk, close it. This replaces
various manual close() calls in nearly all plugins.
|
|
|
|
|
| |
Don't return 0/-1 on success/error, but true/false. Instead of int,
use bool for storing flags.
|
|
|
|
|
| |
The pointer becomes invalid due to pa_simple_free(), which may lead to
segmentation faults when the output is reopened later.
|
|
|
|
| |
Use GLib allocation and logging functions.
|
| |
|
|
|
|
|
| |
Don't accept 24 bit audio. Force MPD to use 16 bit if anything other
than 8 or 16 bit is selected.
|
|
|
|
| |
Don't compile the sources of disabled output plugins at all.
|
|
Again, no CamelCase in the directory name.
|