]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Restore the behavior of Asterisk 1.2 where if a device was not specified in
authorRussell Bryant <russell@russellbryant.com>
Mon, 26 Feb 2007 20:42:21 +0000 (20:42 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 26 Feb 2007 20:42:21 +0000 (20:42 +0000)
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/branches/1.4@56888 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_alsa.c

index 83900a3deeb01b6baada720cbf44fe2d5e9546ed..b64cd941ef157ea7ead6c4d177dcb6fb1febd968 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.  */