diff options
author | Max Kellermann <max@duempel.org> | 2008-11-03 21:43:02 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-03 21:43:02 +0100 |
commit | 863badd91ed25ed37a4d1a8bb1d03fdbf285a631 (patch) | |
tree | 131774a268dbfa2aa153f23a56b0ae62a4b9ad99 /src/decoder_api.c | |
parent | b3dfcfef52f30ccdec4011bf0c9fa051feb3590e (diff) | |
download | mpd-863badd91ed25ed37a4d1a8bb1d03fdbf285a631.tar.gz mpd-863badd91ed25ed37a4d1a8bb1d03fdbf285a631.tar.xz mpd-863badd91ed25ed37a4d1a8bb1d03fdbf285a631.zip |
decoder: no CamelCase
Renamed variables and functions.
Diffstat (limited to '')
-rw-r--r-- | src/decoder_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c index 1f51cb1f6..e0bdb6eb4 100644 --- a/src/decoder_api.c +++ b/src/decoder_api.c @@ -43,7 +43,7 @@ void decoder_initialized(struct decoder * decoder, getOutputAudioFormat(audio_format, &dc.out_audio_format); dc.seekable = seekable; - dc.totalTime = total_time; + dc.total_time = total_time; dc.state = DECODE_STATE_DECODE; notify_signal(&pc.notify); @@ -63,7 +63,7 @@ void decoder_command_finished(mpd_unused struct decoder * decoder) { assert(dc.command != DECODE_COMMAND_NONE); assert(dc.command != DECODE_COMMAND_SEEK || - dc.seekError || decoder->seeking); + dc.seek_error || decoder->seeking); if (dc.command == DECODE_COMMAND_SEEK) /* delete frames from the old song position */ @@ -79,14 +79,14 @@ double decoder_seek_where(mpd_unused struct decoder * decoder) decoder->seeking = true; - return dc.seekWhere; + return dc.seek_where; } void decoder_seek_error(struct decoder * decoder) { assert(dc.command == DECODE_COMMAND_SEEK); - dc.seekError = true; + dc.seek_error = true; decoder_command_finished(decoder); } |