Change chan_alsa to default open the first sound card device
authorMatthew Fredrickson <creslin@digium.com>
Fri, 20 Jan 2006 18:18:40 +0000 (18:18 +0000)
committerMatthew Fredrickson <creslin@digium.com>
Fri, 20 Jan 2006 18:18:40 +0000 (18:18 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8346 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_alsa.c

index 45cd1c6..a41eb93 100644 (file)
@@ -68,8 +68,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #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.  */