From: Russell Bryant Date: Mon, 26 Feb 2007 20:42:21 +0000 (+0000) Subject: Restore the behavior of Asterisk 1.2 where if a device was not specified in X-Git-Tag: 1.4.1~25 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=83ce3720bc18fb85853e5367073a89636e727a62;p=thirdparty%2Fasterisk.git 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 --- 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. */