]> code.delx.au - pulseaudio/commit
resampler: choose_work_format use switch instead of if/else
authorpoljar (Damir Jelić) <poljarinho@gmail.com>
Thu, 11 Jul 2013 17:28:29 +0000 (19:28 +0200)
committerpoljar (Damir Jelić) <poljarinho@gmail.com>
Tue, 27 Aug 2013 10:33:09 +0000 (12:33 +0200)
commit7665f60cc08c4b83e79acc96aa3bd7e9c4f1086d
tree7553455b535a4b87d26c884dee6a6cec8b6f2a5b
parent78c18e71e0ce329be84e40cd1a437c9c78db96b1
resampler: choose_work_format use switch instead of if/else

This way the function for choosing the work format should
be more readable and easier to expand in the future.
src/pulsecore/resampler.c