]> git.tue.mpg.de Git - paraslash.git/commit
Introduce decoder_execute().
authorAndre Noll <maan@systemlinux.org>
Wed, 30 Jun 2010 17:04:30 +0000 (19:04 +0200)
committerAndre Noll <maan@systemlinux.org>
Tue, 13 Jul 2010 12:39:16 +0000 (14:39 +0200)
commit4d425382c007b200121b4be5120db1acd30d292f
tree1659853d77dc337fb97455e133e916d05fb500bb
parent1c859dfc274c592eca267197131d6497b650b24c
Introduce decoder_execute().

All four decoders support the same two commands: "sample_rate"
and "channels". This patch adds a public function to filter_common.c
which implements these two commands and is called by all decoders.
This allows to kill four copies of code with identical functionality.
aacdec_filter.c
filter.h
filter_common.c
mp3dec_filter.c
oggdec_filter.c
wmadec_filter.c