diff options
author | Max Kellermann <max@duempel.org> | 2010-01-03 22:44:23 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-01-04 20:42:49 +0100 |
commit | cd8f92c9285e9b3b460ff47d2f251bfabce544da (patch) | |
tree | 594de0f646b0fc69405132c3a9e2f05060399abf /src/decoder/sidplay_plugin.cxx | |
parent | e58b4f773f28ad7b8e26c14c9c853fc2798408a1 (diff) | |
download | mpd-cd8f92c9285e9b3b460ff47d2f251bfabce544da.tar.gz mpd-cd8f92c9285e9b3b460ff47d2f251bfabce544da.tar.xz mpd-cd8f92c9285e9b3b460ff47d2f251bfabce544da.zip |
decoder_api: added function decoder_replay_gain()
This function replaces the replay_gain_info parameter for
decoder_data(). This allows the decoder to announce replay gain
changes, instead of having to pass the same object over and over.
Diffstat (limited to 'src/decoder/sidplay_plugin.cxx')
-rw-r--r-- | src/decoder/sidplay_plugin.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/decoder/sidplay_plugin.cxx b/src/decoder/sidplay_plugin.cxx index 95b8082a1..a2eb21ae4 100644 --- a/src/decoder/sidplay_plugin.cxx +++ b/src/decoder/sidplay_plugin.cxx @@ -298,8 +298,7 @@ sidplay_file_decode(struct decoder *decoder, const char *path_fs) decoder_timestamp(decoder, (double)player.time() / timebase); - cmd = decoder_data(decoder, NULL, buffer, nbytes, - 0, NULL); + cmd = decoder_data(decoder, NULL, buffer, nbytes, 0); if(cmd==DECODE_COMMAND_SEEK) { unsigned data_time = player.time(); |