Merged revisions 56888 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Mon, 26 Feb 2007 20:43:18 +0000 (20:43 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 26 Feb 2007 20:43:18 +0000 (20:43 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56888 | russell | 2007-02-26 14:42:21 -0600 (Mon, 26 Feb 2007) | 4 lines

Restore the behavior of Asterisk 1.2 where if a device was not specified in
alsa.conf, then we just use the system default, instead of creating our own
default of hw:0,0.  (issue #9139)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56889 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_alsa.c

index 1651b7d..2be93ef 100644 (file)
@@ -83,8 +83,8 @@ static struct ast_jb_conf global_jbconf;
 
 #define DEBUG 0
 /* Which device to use */
-#define ALSA_INDEV "hw:0,0"
-#define ALSA_OUTDEV "hw:0,0"
+#define ALSA_INDEV "default"
+#define ALSA_OUTDEV "default"
 #define DESIRED_RATE 8000
 
 /* Lets use 160 sample frames, just like GSM.  */