[asterisk-commits] russell: branch 1.4 r56888 - /branches/1.4/channels/chan_alsa.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Feb 26 13:42:21 MST 2007


Author: russell
Date: Mon Feb 26 14:42:21 2007
New Revision: 56888

URL: http://svn.digium.com/view/asterisk?view=rev&rev=56888
Log:
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)

Modified:
    branches/1.4/channels/chan_alsa.c

Modified: branches/1.4/channels/chan_alsa.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_alsa.c?view=diff&rev=56888&r1=56887&r2=56888
==============================================================================
--- branches/1.4/channels/chan_alsa.c (original)
+++ branches/1.4/channels/chan_alsa.c Mon Feb 26 14:42:21 2007
@@ -83,8 +83,8 @@
 
 #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.  */



More information about the asterisk-commits mailing list