[xiph-commits] r17630 - trunk/ao/src/plugins/alsa

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Thu Nov 18 06:28:43 PST 2010


Author: xiphmont
Date: 2010-11-18 06:28:43 -0800 (Thu, 18 Nov 2010)
New Revision: 17630

Modified:
   trunk/ao/src/plugins/alsa/ao_alsa.c
Log:
Correct an open bug when using id option with alsa driver



Modified: trunk/ao/src/plugins/alsa/ao_alsa.c
===================================================================
--- trunk/ao/src/plugins/alsa/ao_alsa.c	2010-11-18 12:04:46 UTC (rev 17629)
+++ trunk/ao/src/plugins/alsa/ao_alsa.c	2010-11-18 14:28:43 UTC (rev 17630)
@@ -505,6 +505,7 @@
             char tmp[80];
             sprintf(tmp,"hw:%d",internal->id);
             internal->dev=strdup(tmp);
+            err = alsa_test_open(device, internal->dev, format);
           }
         }else
           err = alsa_test_open(device, internal->dev, format);



More information about the commits mailing list