aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_mvp.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-10 14:40:54 +0200
committerMax Kellermann <max@duempel.org>2008-10-10 14:40:54 +0200
commitde2cb3f37568e7680549057f8d7b6d748c388480 (patch)
tree46f9f43a1f83b49945c8a4fc77f933fad9230e01 /src/audioOutputs/audioOutput_mvp.c
parent6101dc6c768b09dbcdc1840a84b619a5a6a20129 (diff)
downloadmpd-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 'src/audioOutputs/audioOutput_mvp.c')
-rw-r--r--src/audioOutputs/audioOutput_mvp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audioOutputs/audioOutput_mvp.c b/src/audioOutputs/audioOutput_mvp.c
index 59f43a4fd..00b069c3d 100644
--- a/src/audioOutputs/audioOutput_mvp.c
+++ b/src/audioOutputs/audioOutput_mvp.c
@@ -202,11 +202,11 @@ static int mvp_openDevice(struct audio_output *audioOutput,
return -1;
}
#ifdef WORDS_BIGENDIAN
- mvp_setPcmParams(md, audioFormat->sampleRate, audioFormat->channels, 0,
- audioFormat->bits);
+ mvp_setPcmParams(md, audioFormat->sample_rate, audioFormat->channels,
+ 0, audioFormat->bits);
#else
- mvp_setPcmParams(md, audioFormat->sampleRate, audioFormat->channels, 1,
- audioFormat->bits);
+ mvp_setPcmParams(md, audioFormat->sample_rate, audioFormat->channels,
+ 1, audioFormat->bits);
#endif
return 0;
}