audioOutput_alsa: print out the bitrate we wanted to set
..and not the enum value that corresponds to that bitrate git-svn-id: https://svn.musicpd.org/mpd/trunk@5030 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
f6b982eb07
commit
6d6155d766
@ -207,7 +207,7 @@ configure_hw:
|
|||||||
err = snd_pcm_hw_params_set_format(ad->pcmHandle, hwparams, bitformat);
|
err = snd_pcm_hw_params_set_format(ad->pcmHandle, hwparams, bitformat);
|
||||||
if (err < 0) {
|
if (err < 0) {
|
||||||
ERROR("ALSA device \"%s\" does not support %i bit audio: "
|
ERROR("ALSA device \"%s\" does not support %i bit audio: "
|
||||||
"%s\n", ad->device, (int)bitformat, snd_strerror(-err));
|
"%s\n", ad->device, audioFormat->bits, snd_strerror(-err));
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user