alsa-sink/source: always set reconfiguration callback 69/178069/1
authorSangchul Lee <sangchul1011@gmail.com>
Fri, 27 Apr 2018 16:07:26 +0000 (01:07 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 8 May 2018 04:35:11 +0000 (13:35 +0900)
commitd6d500236958547cc27119cc8844c290c3e8bfd2
tree26727b042e38d0f729445e26feeebee5f53aa15f
parent52fd28ea2fb25fe712cac7c19d392df80767314c
alsa-sink/source: always set reconfiguration callback

Reconfiguration callback should also be set in case of avoiding resampling
option. This patch set the callback for every case because the callback
has already conditions to leave if it is not needed.
Also unnecessary codes of setting alternate sample rate to 0 are removed.

Change-Id: I21adcc21c3c705722440b280d27d7d3140e907e9
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
src/modules/alsa/alsa-sink.c
src/modules/alsa/alsa-source.c
src/pulsecore/sink.c
src/pulsecore/source.c