[pulseaudio-tickets] [PulseAudio] #521: module-combine always uses default sample specs and channel map

PulseAudio trac-noreply at tango.0pointer.de
Sat Mar 28 12:16:46 PDT 2009


#521: module-combine always uses default sample specs and channel map
-------------------------------+--------------------------------------------
  Reporter:  mkbosmans         |       Owner:  lennart
      Type:  enhancement       |      Status:  new    
  Priority:  normal            |   Milestone:  0.9.15 
 Component:  module-combine-*  |    Severity:  normal 
Resolution:                    |    Keywords:         
-------------------------------+--------------------------------------------

Comment(by mkbosmans):

 The proposed patch uses the following logic to determine the paramaters of
 the combined sink:
  * if all the slave sinks have the same sample format, us it.
  * use the maximum of the slaves' samplerates.
  * if all the slaves have the same channel map use this map.
  * if sample format or channel map of the slaves differ, use the default.
  * explicitly gives parameters are of course always used.

 In this patch this logic is only applied for the case of explicitly
 defined slaves, but it is probably a good idea to do the same for the
 automatic slave list. This is easily done with some reshuffleing of the
 code.

-- 
Ticket URL: <http://pulseaudio.org/ticket/521#comment:1>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list