]> code.delx.au - pulseaudio/commit
Add pa_sample_format_valid()
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Wed, 4 Dec 2013 07:50:09 +0000 (09:50 +0200)
committerPeter Meerwald <pmeerw@pmeerw.net>
Sun, 15 Dec 2013 10:07:17 +0000 (11:07 +0100)
commit1cda71725240bd4911f0f34c5d384b3966f06369
treeab17e13e97216ecfd0222d239fab087d4fc12ba5
parent643eb5bae2c58246657cdfebe19002da2cee292e
Add pa_sample_format_valid()

I think this makes the code a bit nicer to read and write. This also
reduces the chances of off-by-one errors when checking the bounds of
the sample format value.
src/map-file
src/modules/dbus/iface-core.c
src/pulse/sample.c
src/pulse/sample.h
src/pulsecore/mix.c
src/pulsecore/resampler.c
src/pulsecore/sconv.c
src/pulsecore/svolume_c.c