]> code.delx.au - pulseaudio/commit
sink, source: Prevent unnecessary rate update attempts
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 15 Nov 2012 10:21:52 +0000 (15:51 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Fri, 16 Nov 2012 17:46:04 +0000 (23:16 +0530)
commitcd1102cce01e47645ed03ddf46a0a8b80d65fc9e
treeb3bb0b90bca000ca907df05522561c146343ef76
parent0a0189d9727b4be636829c854c8a0d98a99f8d61
sink, source: Prevent unnecessary rate update attempts

We don't need to try a rate update if the desired sample rate is the
same as the one the sink or source is already using.
src/pulsecore/sink-input.c
src/pulsecore/sink.c
src/pulsecore/source-output.c
src/pulsecore/source.c