core: Internally deprecate pa_port_available_t to use pa_available_t
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Mon, 18 Feb 2013 15:13:24 +0000 (16:13 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Mon, 18 Feb 2013 15:25:53 +0000 (17:25 +0200)
commit8851644a3c76cf29c8244a19446781cfa1943763
tree2d820f2b25b803410e36096d13fd72776a705b09
parent3aefdd995ca2cb13c75bb2b95d99c970172b1e19
core: Internally deprecate pa_port_available_t to use pa_available_t

Generalize the availability flag in order to be used beyond the scope of
ports.

However, pa_port_availability_t is left unchanged to avoid modifying the
protocol and the client API. This should be replaced by pa_available_t
after a validation phase of this new generic enum type.
12 files changed:
src/modules/alsa/alsa-mixer.c
src/modules/alsa/alsa-mixer.h
src/modules/alsa/alsa-ucm.c
src/modules/alsa/module-alsa-card.c
src/modules/bluetooth/module-bluetooth-device.c
src/modules/bluetooth/module-bluetooth-policy.c
src/modules/module-switch-on-port-available.c
src/pulse/def.h
src/pulsecore/card.h
src/pulsecore/cli-text.c
src/pulsecore/device-port.c
src/pulsecore/device-port.h