[asterisk-commits] trunk - r8346 /trunk/channels/chan_alsa.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Jan 20 11:18:40 MST 2006


Author: mattf
Date: Fri Jan 20 12:18:40 2006
New Revision: 8346

URL: http://svn.digium.com/view/asterisk?rev=8346&view=rev
Log:
Change chan_alsa to default open the first sound card device

Modified:
    trunk/channels/chan_alsa.c

Modified: trunk/channels/chan_alsa.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_alsa.c?rev=8346&r1=8345&r2=8346&view=diff
==============================================================================
--- trunk/channels/chan_alsa.c (original)
+++ trunk/channels/chan_alsa.c Fri Jan 20 12:18:40 2006
@@ -68,8 +68,8 @@
 
 #define DEBUG 0
 /* Which device to use */
-#define ALSA_INDEV "default"
-#define ALSA_OUTDEV "default"
+#define ALSA_INDEV "hw:0,0"
+#define ALSA_OUTDEV "hw:0,0"
 #define DESIRED_RATE 8000
 
 /* Lets use 160 sample frames, just like GSM.  */



More information about the asterisk-commits mailing list