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
This commit is contained in:
parent
7ecd93e73e
commit
9297ae7fce
@ -259,8 +259,9 @@ static int alsa_openDevice(AudioOutput * audioOutput)
|
|||||||
|
|
||||||
audioOutput->open = 1;
|
audioOutput->open = 1;
|
||||||
|
|
||||||
DEBUG("alsa device \"%s\" will be playing %i channel audio at %i Hz\n",
|
DEBUG("alsa device \"%s\" will be playing %i bit, %i channel audio at "
|
||||||
ad->device, channels, sampleRate);
|
"%i Hz\n", ad->device, (int)audioFormat->bits,
|
||||||
|
channels, sampleRate);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
@ -482,8 +482,9 @@ static int oss_openDevice(AudioOutput * audioOutput)
|
|||||||
audioFormat->sampleRate = od->sampleRate;
|
audioFormat->sampleRate = od->sampleRate;
|
||||||
audioFormat->bits = od->bits;
|
audioFormat->bits = od->bits;
|
||||||
|
|
||||||
DEBUG("oss device \"%s\" will be playing %i channel audio at %i Hz\n",
|
DEBUG("oss device \"%s\" will be playing %i bit %i channel audio at "
|
||||||
od->device, od->channels, od->sampleRate);
|
"%i Hz\n", od->device, od->bits,
|
||||||
|
od->channels, od->sampleRate);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@ -92,7 +92,9 @@ int sendDataToOutputBuffer(OutputBuffer * cb, InputStream * inStream,
|
|||||||
&(cb->audioFormat),data);
|
&(cb->audioFormat),data);
|
||||||
}
|
}
|
||||||
|
|
||||||
doReplayGain(replayGainInfo, data, datalen, &cb->audioFormat);
|
if(replayGainInfo) {
|
||||||
|
doReplayGain(replayGainInfo, data, datalen, &cb->audioFormat);
|
||||||
|
}
|
||||||
|
|
||||||
while(datalen) {
|
while(datalen) {
|
||||||
if(currentChunk != cb->end) {
|
if(currentChunk != cb->end) {
|
||||||
|
Loading…
Reference in New Issue
Block a user