[pulseaudio-tickets] [PulseAudio] #727: Activating a raop module sink appears to re-map previously mapped streams to itself

PulseAudio trac-noreply at tango.0pointer.de
Wed Nov 25 02:19:18 PST 2009


#727: Activating a raop module sink appears to re-map previously mapped streams
to itself
------------------------+---------------------------------------------------
  Reporter:  peitschie  |       Owner:  coling           
      Type:  defect     |      Status:  assigned         
 Milestone:             |   Component:  module-remap-sink
Resolution:             |    Keywords:                   
------------------------+---------------------------------------------------

Comment(by coling):

 I can't test just now, but does this simple patch fix things?
 {{{
 diff --git a/src/modules/module-remap-sink.c b/src/modules/module-remap-
 sink.c
 index 43748bd..6474640 100644
 --- a/src/modules/module-remap-sink.c
 +++ b/src/modules/module-remap-sink.c
 @@ -424,7 +424,7 @@ int pa__init(pa_module*m) {
      pa_proplist_sets(sink_input_data.proplist, PA_PROP_MEDIA_ROLE,
 "filter");
      pa_sink_input_new_data_set_sample_spec(&sink_input_data, &ss);
      pa_sink_input_new_data_set_channel_map(&sink_input_data,
 &stream_map);
 -    sink_input_data.flags = (remix ? 0 : PA_SINK_INPUT_NO_REMIX);
 +    sink_input_data.flags = PA_SINK_INPUT_DONT_MOVE|(remix ? 0 :
 PA_SINK_INPUT_NO_REMIX);

      pa_sink_input_new(&u->sink_input, m->core, &sink_input_data);
      pa_sink_input_new_data_done(&sink_input_data);
 }}}

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


More information about the pulseaudio-bugs mailing list