[vlc-commits] ALSA: correct debug message

Rémi Denis-Courmont git at videolan.org
Wed Jul 24 21:07:35 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jul 24 22:07:27 2013 +0300| [473c629aa369a53df76a3c2665b027b5eeef41a1] | committer: Rémi Denis-Courmont

ALSA: correct debug message

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=473c629aa369a53df76a3c2665b027b5eeef41a1
---

 modules/audio_output/alsa.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/audio_output/alsa.c b/modules/audio_output/alsa.c
index 9a231aa..7aa3b36 100644
--- a/modules/audio_output/alsa.c
+++ b/modules/audio_output/alsa.c
@@ -277,7 +277,7 @@ static unsigned SetupChannels (vlc_object_t *obj, snd_pcm_t *pcm,
 
     const snd_pcm_chmap_t *map = &maps[best_offset]->map;
     msg_Dbg (obj, "using channels map %u, type %u, %u channel(s)", best_offset,
-             maps[best_offset]->type, best_score);
+             maps[best_offset]->type, map->channels);
 
     /* Setup channels map */
     unsigned to_reorder = SetupChannelsFixed(map, mask, tab);



More information about the vlc-commits mailing list