]> code.delx.au - pulseaudio/commit
core: Suspend monitor when a sink enters passthrough mode
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 3 Mar 2011 13:32:45 +0000 (19:02 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 2 May 2011 06:25:38 +0000 (11:55 +0530)
commitf94bcae6bd6a3021a9474de5703360817f1ec1a8
treea49650a00a0a6cafd592c86425c4922225c2c242
parent4c9d53f3f50162e19ad7934e62c8f35453bdbfbc
core: Suspend monitor when a sink enters passthrough mode

In most cases it is expected that clients cannot consume compressed
data from monitor sources, so we suspend the monitor source when the
sink goes into passthrough mode.

Eventually, when the extended API includes client notifications for
changed formats, we should emit a notification on the monitor so that
clients can decide what they want to do when this happens (disconnect or
consume the data anyway).
src/pulsecore/core.h
src/pulsecore/sink-input.c
src/pulsecore/source.c