aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_thread.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-02 16:57:16 +0100
committerMax Kellermann <max@duempel.org>2008-11-02 16:57:16 +0100
commit5347cca29d0b6df888122d09ec05101d24a227be (patch)
tree97959c6751a7eafda228a949be58a378732b9695 /src/player_thread.c
parent8490c1b4cfbd35f049f36c3f85396a429a80d837 (diff)
downloadmpd-5347cca29d0b6df888122d09ec05101d24a227be.tar.gz
mpd-5347cca29d0b6df888122d09ec05101d24a227be.tar.xz
mpd-5347cca29d0b6df888122d09ec05101d24a227be.zip
music_pipe: no CamelCase
Rename all variables and struct members.
Diffstat (limited to '')
-rw-r--r--src/player_thread.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/player_thread.c b/src/player_thread.c
index 3a378b069..1507d11b5 100644
--- a/src/player_thread.c
+++ b/src/player_thread.c
@@ -211,15 +211,15 @@ playChunk(struct music_chunk *chunk, const struct audio_format *format,
double sizeToTime)
{
pc.elapsedTime = chunk->times;
- pc.bitRate = chunk->bitRate;
+ pc.bitRate = chunk->bit_rate;
- pcm_volume(chunk->data, chunk->chunkSize,
+ pcm_volume(chunk->data, chunk->length,
format, pc.softwareVolume);
- if (!playAudio(chunk->data, chunk->chunkSize))
+ if (!playAudio(chunk->data, chunk->length))
return -1;
- pc.totalPlayTime += sizeToTime * chunk->chunkSize;
+ pc.totalPlayTime += sizeToTime * chunk->length;
return 0;
}