diff options
author | Max Kellermann <max@duempel.org> | 2008-10-10 14:40:54 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-10 14:40:54 +0200 |
commit | de2cb3f37568e7680549057f8d7b6d748c388480 (patch) | |
tree | 46f9f43a1f83b49945c8a4fc77f933fad9230e01 /src/audioOutputs/audioOutput_pulse.c | |
parent | 6101dc6c768b09dbcdc1840a84b619a5a6a20129 (diff) | |
download | mpd-de2cb3f37568e7680549057f8d7b6d748c388480.tar.gz mpd-de2cb3f37568e7680549057f8d7b6d748c388480.tar.xz mpd-de2cb3f37568e7680549057f8d7b6d748c388480.zip |
audio_format: renamed sampleRate to sample_rate
The last bit of CamelCase in audio_format.h. Additionally, rename a
bunch of local variables.
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; } |