[asterisk-bugs] [Asterisk 0015308]: [patch] Asterisk ALSA interface consumes physical input and output regardless of whether or not they are needed...

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 15 16:44:56 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15308 
====================================================================== 
Reported By:                krakorar
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15308
Category:                   Channels/chan_alsa
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     confirmed
Asterisk Version:           1.4.25 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-06-10 14:04 CDT
Last Modified:              2009-06-15 16:44 CDT
====================================================================== 
Summary:                    [patch] Asterisk ALSA interface consumes physical
input and output regardless of whether or not they are needed...
Description: 
I have hacked on chan_alsa.c (attached) to allow either ALSA input or
ALSA output or both to be specified.  Previously, Asterisk would
consume a physical ALSA input and physical ALSA output whether it was
going to make use of them or not.  This is problematic when one wants
to make use of a cheap analog microphone to interface to applications
other than Asterisk and there is only one analog input on the
motherboard.  Asterisk would consume the input and it would not be
available for any other application.  Again, this is a hack and
comments and a more elegant solution are desired.
====================================================================== 

---------------------------------------------------------------------- 
 (0106433) lmadsen (administrator) - 2009-06-15 16:44
 https://issues.asterisk.org/view.php?id=15308#c106433 
---------------------------------------------------------------------- 
It looks like you've attached the entire chan_alsa.c file, where really you
just need to attach your changes as a unified diff. Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-15 16:44 lmadsen        Note Added: 0106433                          
======================================================================




More information about the asterisk-bugs mailing list