]> code.delx.au - pulseaudio/commit
resample: refactor the channel remapping a little
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 19 Aug 2009 14:15:18 +0000 (16:15 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 20 Aug 2009 09:31:04 +0000 (11:31 +0200)
commitb4e9942c2f3929b4baf4b53b0561102af7845269
treeaca8d17e29de93932e518c6571427e63b9407153
parentbd49d43bd387758f151c56b7ed1643ecb72c0258
resample: refactor the channel remapping a little

Factor out the channel remap matrix code into a separate function.
Keep a pointer to the channel remapping function so we can install custom
functions.
Catch the common mono->stereo remapping case and install a custom, more
optimized function.
src/pulsecore/resampler.c