sink, source: Make rate selection more explicit
authorArun Raghavan <arun@arunraghavan.net>
Mon, 30 Jan 2017 08:37:37 +0000 (14:07 +0530)
committerArun Raghavan <arun@arunraghavan.net>
Mon, 30 Jan 2017 08:37:37 +0000 (14:07 +0530)
commit539371b3f722e92287f04f962160413e4efe1fa1
tree395a42cada6071c49c608cf35a4f1ad4d88055be
parentcc021c73305023a113f78190fb1b995528d003ae
sink, source: Make rate selection more explicit

This serves to explicitly document the various cases we deal with in
pa_sink_update_rate()/pa_source_update_rate() rather than have some of
them hidden behind the initialisation of desired_rate.
src/pulsecore/sink.c
src/pulsecore/source.c