[pulseaudio-discuss] Automatic muting of multiple applications

Johannes H. Jensen joh at pseudoberries.com
Tue Aug 9 10:48:25 PDT 2011


On Tue, Aug 9, 2011 at 14:32, Maarten Bosmans <mkbosmans at gmail.com> wrote:
> That could indeed by some handy functionality.
> In pulseaudio there's already a concept of corking a stream. If a
> stream is corked, its audio is muted and the application receives a
> signal so it can pause the playback. If the stream is uncorked, the
> music resumes playing.

Ah, that's neat! Is there any way to cork a stream from command-line
tools like pacmd?

> This would indeed be best implemented as a module. You can use
> module-cork-music-on-phone as an example.
> There were also some threads on the mailing list about corking streams
> that you might want to read, such as "dynamic routing through pulse
> audio" a couple of weeks back.

Great, I will base my module on that :-)

Thanks!

- Johannes


More information about the pulseaudio-discuss mailing list