]> code.delx.au - pulseaudio/commit
resampler: Add assert to set_input/output_rate
authorpoljar (Damir Jelić) <poljarinho@gmail.com>
Wed, 10 Jul 2013 11:10:04 +0000 (13:10 +0200)
committerpoljar (Damir Jelić) <poljarinho@gmail.com>
Tue, 27 Aug 2013 10:33:10 +0000 (12:33 +0200)
commit0d525e9c85c1ebd2ed4ab809330c7605b5a8fbb4
tree3d60275f6ad4092ce748dd4c519e41e0c72a36e0
parent4bdfebee5c580e3230a8b1b8311717ff7835c17a
resampler: Add assert to set_input/output_rate

This adds asserts to check if the implementation has an update rate
function defined for the unlikely event that some implementation forgets
to assign a update rate function we can simply bail.

It is expected from the resampling implementations to have such a
function even if the state of the resampler is completely reset.
src/pulsecore/resampler.c