From 83ce3720bc18fb85853e5367073a89636e727a62 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 26 Feb 2007 20:42:21 +0000 Subject: [PATCH] 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/branches/1.4@56888 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_alsa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/channels/chan_alsa.c b/channels/chan_alsa.c index 83900a3dee..b64cd941ef 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. */