diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2005-03-19 14:30:07 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2005-03-19 14:30:07 +0000 |
commit | 9297ae7fce821eff7cddf60d027146dc5f9ba41d (patch) | |
tree | 4ef7f7ad7753291c6793f9fc3efea63ecf97d8af /src/outputBuffer.c | |
parent | 7ecd93e73ec77db3169fb83d1a1ca72a51ca61c7 (diff) | |
download | mpd-9297ae7fce821eff7cddf60d027146dc5f9ba41d.tar.gz mpd-9297ae7fce821eff7cddf60d027146dc5f9ba41d.tar.xz mpd-9297ae7fce821eff7cddf60d027146dc5f9ba41d.zip |
print out bits in debug message output for OSS and ALSA
git-svn-id: https://svn.musicpd.org/mpd/trunk@3104 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/outputBuffer.c')
-rw-r--r-- | src/outputBuffer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c index 463eeef79..e52c6e1a4 100644 --- a/src/outputBuffer.c +++ b/src/outputBuffer.c @@ -92,7 +92,9 @@ int sendDataToOutputBuffer(OutputBuffer * cb, InputStream * inStream, &(cb->audioFormat),data); } - doReplayGain(replayGainInfo, data, datalen, &cb->audioFormat); + if(replayGainInfo) { + doReplayGain(replayGainInfo, data, datalen, &cb->audioFormat); + } while(datalen) { if(currentChunk != cb->end) { |