[pulseaudio-discuss] [RFC v3] core: Internally deprecate pa_port_available_t to use pa_available_t

Tanu Kaskinen tanuk at iki.fi
Mon Feb 18 07:30:27 PST 2013


On Mon, 2013-02-18 at 16:13 +0100, Mikel Astiz wrote:
> From: Mikel Astiz <mikel.astiz at bmw-carit.de>
> 
> 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.
> ---
>  src/modules/alsa/alsa-mixer.c                   | 12 ++++----
>  src/modules/alsa/alsa-mixer.h                   |  2 +-
>  src/modules/alsa/alsa-ucm.c                     |  4 +--
>  src/modules/alsa/module-alsa-card.c             | 10 +++----
>  src/modules/bluetooth/module-bluetooth-device.c | 40 ++++++++++++-------------
>  src/modules/bluetooth/module-bluetooth-policy.c |  6 ++--
>  src/modules/module-switch-on-port-available.c   | 20 ++++++-------
>  src/pulse/def.h                                 |  2 ++
>  src/pulsecore/card.h                            |  8 +++++
>  src/pulsecore/cli-text.c                        |  8 ++---
>  src/pulsecore/device-port.c                     | 10 +++----
>  src/pulsecore/device-port.h                     |  4 +--
>  12 files changed, 68 insertions(+), 58 deletions(-)

Applied, thanks.

-- 
Tanu



More information about the pulseaudio-discuss mailing list