diff options
Diffstat (limited to '')
-rw-r--r-- | src/audioOutputs/audioOutput_pulse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audioOutputs/audioOutput_pulse.c b/src/audioOutputs/audioOutput_pulse.c index 38014c8f0..93a1d8b37 100644 --- a/src/audioOutputs/audioOutput_pulse.c +++ b/src/audioOutputs/audioOutput_pulse.c @@ -138,7 +138,7 @@ static int pulse_openDevice(void *data, } ss.format = PA_SAMPLE_S16NE; - ss.rate = audioFormat->sampleRate; + ss.rate = audioFormat->sample_rate; ss.channels = audioFormat->channels; pd->s = pa_simple_new(pd->server, MPD_PULSE_NAME, PA_STREAM_PLAYBACK, @@ -159,7 +159,7 @@ static int pulse_openDevice(void *data, "channel audio at %i Hz\n", audio_output_get_name(pd->ao), audioFormat->bits, - audioFormat->channels, audioFormat->sampleRate); + audioFormat->channels, audioFormat->sample_rate); return 0; } |