[pulseaudio-discuss] Moving sources and sinks
lennart at poettering.net
Mon May 5 17:47:56 PDT 2008
On Fri, 02.05.08 11:27, Matt Patterson (matt at v8zman.com) wrote:
> So I think what I would do is make a "combined" sink for each class of data
> that routes all audio to all sources. If you disable the module to gets rid
> of idle streams this will leave you with active but corked streams to all
> output devices from each sink. You can then update which streams are muted.
> If you need to do this literally stream by stream (as in playback event by
> playback event) this might not work because I am just using the text
> interface (basically what pacmd is) and would have no way of being notified
> when a new stream is played. If on the other hand the routing is more
> global and based on external events you could easily update the current
> config and then all future sounds would play as expected.
Using the combined sink for this kind of stuff is not a good idea. The
point of module-combine is to deal with sampling rate deviations. It
resamples audio to fix them. If you already complained about CPU
usage, then this is not going to help it.
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the pulseaudio-discuss