diff options
Diffstat (limited to '')
-rw-r--r-- | src/audioOutputs/audioOutput_pulse.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/audioOutputs/audioOutput_pulse.c b/src/audioOutputs/audioOutput_pulse.c index 93a1d8b37..b1ce3d049 100644 --- a/src/audioOutputs/audioOutput_pulse.c +++ b/src/audioOutputs/audioOutput_pulse.c @@ -131,11 +131,9 @@ static int pulse_openDevice(void *data, pd->connAttempts++; pd->lastAttempt = t; - if (audioFormat->bits != 16) { - ERROR("PulseAudio doesn't support %i bit audio\n", - audioFormat->bits); - return -1; - } + /* MPD doesn't support the other pulseaudio sample formats, so + we just force MPD to send us everything as 16 bit */ + audioFormat->bits = 16; ss.format = PA_SAMPLE_S16NE; ss.rate = audioFormat->sample_rate; |