aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-26 20:42:21 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-26 20:42:21 +0000
commitcc4942b6a3d92695513bddc5e97fe6d1f88d5e18 (patch)
treea1baa29ec5d520b7e2a90de3d0621141efdf4753
parent6baa3352ae6d1a9c3867dbd3af12d35271fff75f (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@56888 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_alsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_alsa.c b/channels/chan_alsa.c
index 83900a3de..b64cd941e 100644
--- a/channels/chan_alsa.c
+++ b/channels/chan_alsa.c
@@ -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. */