sample-util: move volume code to separate file

Move the volume code into a separate file with the reference C implementations.
Add a function to retrieve the volume function and one to install a new one.
This commit is contained in:
Wim Taymans 2009-08-11 17:10:44 +02:00
parent e71e644eb6
commit 3d008961c0
4 changed files with 347 additions and 311 deletions

View file

@ -825,6 +825,7 @@ libpulsecore_@PA_MAJORMINORMICRO@_la_SOURCES = \
pulsecore/resampler.c pulsecore/resampler.h \
pulsecore/rtpoll.c pulsecore/rtpoll.h \
pulsecore/sample-util.c pulsecore/sample-util.h \
pulsecore/svolume_c.c \
pulsecore/sconv-s16be.c pulsecore/sconv-s16be.h \
pulsecore/sconv-s16le.c pulsecore/sconv-s16le.h \
pulsecore/sconv.c pulsecore/sconv.h \