[pulseaudio-discuss] [PATCH] core: add missing SET_PORT_LATENCY_OFFSET to dispatcher opcode string table

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Fri Mar 7 03:55:31 PST 2014


On Fri, 2014-03-07 at 12:38 +0100, Peter Meerwald wrote:
> From: Peter Meerwald <p.meerwald at bct-electronic.com>
> 
> Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
> ---
>  src/pulsecore/pdispatch.c |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/pulsecore/pdispatch.c b/src/pulsecore/pdispatch.c
> index 4033240..1766d6d 100644
> --- a/src/pulsecore/pdispatch.c
> +++ b/src/pulsecore/pdispatch.c
> @@ -190,6 +190,8 @@ static const char *command_names[PA_COMMAND_MAX] = {
>      [PA_COMMAND_SET_SOURCE_OUTPUT_VOLUME] = "SET_SOURCE_OUTPUT_VOLUME",
>      [PA_COMMAND_SET_SOURCE_OUTPUT_MUTE] = "SET_SOURCE_OUTPUT_MUTE",
>  
> +    /* Supported since protocol v27 (3.0) */
> +    [PA_COMMAND_SET_PORT_LATENCY_OFFSET] = "SET_PORT_LATENCY_OFFSET",
>  };
>  
>  #endif

Looks good to me.

(As a side note, I don't think the protocol version information is
useful in this context...)

-- 
Tanu



More information about the pulseaudio-discuss mailing list