]> code.delx.au - pulseaudio/commit
Add pa_channels_valid()
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Wed, 4 Dec 2013 07:50:11 +0000 (09:50 +0200)
committerPeter Meerwald <pmeerw@pmeerw.net>
Sun, 15 Dec 2013 10:44:35 +0000 (11:44 +0100)
commit2747c961015ba00ec9a1cad8a8a95b4a34db9ee0
tree4377fce703d7753da77e48daca40499f04779cd2
parenta67318f8affc4973507811946708bc17e63f1ec7
Add pa_channels_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
channel count values.
12 files changed:
src/daemon/daemon-conf.c
src/map-file
src/modules/alsa/alsa-ucm.c
src/modules/bluetooth/module-bluez4-device.c
src/modules/jack/module-jack-sink.c
src/modules/jack/module-jack-source.c
src/modules/jack/module-jackdbus-detect.c
src/pulse/channelmap.c
src/pulse/sample.c
src/pulse/sample.h
src/pulse/volume.c
src/pulsecore/modargs.c