pitch: Flush only if there are unprocessed samples
authorSuhas Nayak <suhas2go@gmail.com>
Mon, 18 Jun 2018 02:09:10 +0000 (07:39 +0530)
committerMathieu Duponchelle <mathieu@centricular.com>
Mon, 18 Jun 2018 21:39:47 +0000 (23:39 +0200)
commit68052a7bc3643ec7b918755492d342bfafadf4ee
tree131144b5061dc74f1efd3b18fe39b68f1f55597d
parentbe6afc6a90c81749997f34f5b1d573646c43eb66
pitch: Flush only if there are unprocessed samples

Otherwise we end up trying to flush before
sample rate of SoundTouch is set

https://bugzilla.gnome.org/show_bug.cgi?id=796613
ext/soundtouch/gstpitch.cc