diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-11-02 19:56:59 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-11-02 19:56:59 +0000 |
commit | 54679d9028117360e50a85a1f4b4f376f13ad6a3 (patch) | |
tree | e23dbf750251f57a6f836ca65693628916eca006 /src/inputPlugins/mp3_plugin.c | |
parent | 1d105d126e84f80b28bc60a742e2631a4227a101 (diff) | |
download | mpd-54679d9028117360e50a85a1f4b4f376f13ad6a3.tar.gz mpd-54679d9028117360e50a85a1f4b4f376f13ad6a3.tar.xz mpd-54679d9028117360e50a85a1f4b4f376f13ad6a3.zip |
rewrite replaygain code, needs testing
git-svn-id: https://svn.musicpd.org/mpd/trunk@2482 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/inputPlugins/mp3_plugin.c')
-rw-r--r-- | src/inputPlugins/mp3_plugin.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/inputPlugins/mp3_plugin.c b/src/inputPlugins/mp3_plugin.c index db5756b95..ab204ffa9 100644 --- a/src/inputPlugins/mp3_plugin.c +++ b/src/inputPlugins/mp3_plugin.c @@ -585,7 +585,8 @@ int mp3Read(mp3DecodeData * data, OutputBuffer * cb, DecoderControl * dc) { data->outputPtr- data->outputBuffer, data->elapsedTime, - data->bitRate/1000); + data->bitRate/1000, + NULL); if(ret == OUTPUT_BUFFER_DC_STOP) { data->flush = 0; return DECODE_BREAK; @@ -710,7 +711,8 @@ int mp3_decode(OutputBuffer * cb, DecoderControl * dc, InputStream * inStream) { data.inStream->seekable, data.outputBuffer, data.outputPtr-data.outputBuffer, - data.elapsedTime,data.bitRate/1000); + data.elapsedTime,data.bitRate/1000, + NULL); } closeInputStream(inStream); |