You need to sign in or sign up before continuing.
Commit 9297ae7f authored by Warren Dukes's avatar Warren Dukes

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
parent 7ecd93e7
......@@ -259,8 +259,9 @@ static int alsa_openDevice(AudioOutput * audioOutput)
audioOutput->open = 1;
DEBUG("alsa device \"%s\" will be playing %i channel audio at %i Hz\n",
ad->device, channels, sampleRate);
DEBUG("alsa device \"%s\" will be playing %i bit, %i channel audio at "
"%i Hz\n", ad->device, (int)audioFormat->bits,
channels, sampleRate);
return 0;
......
......@@ -482,8 +482,9 @@ static int oss_openDevice(AudioOutput * audioOutput)
audioFormat->sampleRate = od->sampleRate;
audioFormat->bits = od->bits;
DEBUG("oss device \"%s\" will be playing %i channel audio at %i Hz\n",
od->device, od->channels, od->sampleRate);
DEBUG("oss device \"%s\" will be playing %i bit %i channel audio at "
"%i Hz\n", od->device, od->bits,
od->channels, od->sampleRate);
return ret;
}
......
......@@ -92,7 +92,9 @@ int sendDataToOutputBuffer(OutputBuffer * cb, InputStream * inStream,
&(cb->audioFormat),data);
}
if(replayGainInfo) {
doReplayGain(replayGainInfo, data, datalen, &cb->audioFormat);
}
while(datalen) {
if(currentChunk != cb->end) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment