[vlc-commits] ALSA: correct debug message

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


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

ALSA: correct debug message

(cherry picked from commit 473c629aa369a53df76a3c2665b027b5eeef41a1)

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

 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