]> code.delx.au - pulseaudio/commit
sink,source: Allow sample rate switching with corked streams
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 7 Nov 2011 09:31:25 +0000 (15:01 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 7 Nov 2011 10:08:30 +0000 (15:38 +0530)
commit993d73d330e2b773bd9b95e1214767c6c35f5f6b
tree5257935bdf7608809afc13799ee7c07b13bf52a6
parent8616f82a67fa031ba224c6d23fa70c31724ef853
sink,source: Allow sample rate switching with corked streams

This updates corked streams' resamplers when switching sample rates on a
sink/source, which means the restriction of allowing sample rate updates
only when no streams are attached to a sink/source is now relaxed to
preventing updates only when there is a running stream attached.
src/pulsecore/sink.c
src/pulsecore/source.c