diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-11-07 04:10:02 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2006-11-07 04:10:02 +0000 |
commit | 6d6155d766747ccd27ade7f0be66bff645b7a11f (patch) | |
tree | f9c95d9bb687d1ca5d96804cc2f26b7612bf740e | |
parent | f6b982eb079b900338737daf6fdfc057c7143697 (diff) | |
download | mpd-6d6155d766747ccd27ade7f0be66bff645b7a11f.tar.gz mpd-6d6155d766747ccd27ade7f0be66bff645b7a11f.tar.xz mpd-6d6155d766747ccd27ade7f0be66bff645b7a11f.zip |
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
-rw-r--r-- | src/audioOutputs/audioOutput_alsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audioOutputs/audioOutput_alsa.c b/src/audioOutputs/audioOutput_alsa.c index edacab484..1cfe4f3a6 100644 --- a/src/audioOutputs/audioOutput_alsa.c +++ b/src/audioOutputs/audioOutput_alsa.c @@ -207,7 +207,7 @@ configure_hw: err = snd_pcm_hw_params_set_format(ad->pcmHandle, hwparams, bitformat); if (err < 0) { 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; } |