]> code.delx.au - pulseaudio/commit
source: When updating a monitor source's rate, update the sink rate too
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Fri, 9 Aug 2013 06:39:49 +0000 (09:39 +0300)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Tue, 27 Aug 2013 12:34:33 +0000 (15:34 +0300)
commita32c5e435452f7e7d1f8f595eb6e494b7c0aaee7
treedeec27f7dcd70d6a8417c5839567efde72cb8b2f
parent2c14306507ce5049fb2bc883acea4f0d8c879876
source: When updating a monitor source's rate, update the sink rate too

If the sink rate is not updated, then the monitor source will appear
to have a different rate than the sink, but in reality there's never
any resampling done when moving data from the sink to the monitor
source, so it's a lie that the monitor source has a different rate.
The result of lying is that clients that capture from the monitor
source will have streams that run too fast or slow.
src/pulsecore/source.c