[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
Fri Nov 6 10:24:01 CST 2009


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15308 
====================================================================== 
Reported By:                krakorar
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   15308
Category:                   Channels/chan_alsa
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           SVN 
JIRA:                       SWP-285 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 won't fix
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-06-10 14:04 CDT
Last Modified:              2009-11-06 10:24 CST
====================================================================== 
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.
====================================================================== 

---------------------------------------------------------------------- 
 (0113304) qwell (administrator) - 2009-11-06 10:24
 https://issues.asterisk.org/view.php?id=15308#c113304 
---------------------------------------------------------------------- 
I honestly don't see the benefit of this.  It brings about a whole bunch of
ways for things to break.

Having said that..  ALSA has done mixing for several years now.  If you
use "default" as the device names, it should not block providing you have a
sane ALSA configuration. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-06 10:24 qwell          Note Added: 0113304                          
2009-11-06 10:24 qwell          Status                   ready for review =>
resolved
2009-11-06 10:24 qwell          Resolution               reopened => won't fix
2009-11-06 10:24 qwell          Assigned To               => qwell           
======================================================================




More information about the asterisk-bugs mailing list