[pulseaudio-discuss] [PATCH] Fix typos in command_names

David Henningsson david.henningsson at canonical.com
Wed Jul 31 05:29:45 PDT 2013


On 07/21/2013 10:08 AM, Kerrick Staley wrote:
> ---
>  src/pulsecore/pdispatch.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/pulsecore/pdispatch.c b/src/pulsecore/pdispatch.c
> index d76ba3b..4033240 100644
> --- a/src/pulsecore/pdispatch.c
> +++ b/src/pulsecore/pdispatch.c
> @@ -107,7 +107,7 @@ static const char *command_names[PA_COMMAND_MAX] = {
>  
>      [PA_COMMAND_KILL_CLIENT] = "KILL_CLIENT",
>      [PA_COMMAND_KILL_SINK_INPUT] = "KILL_SINK_INPUT",
> -    [PA_COMMAND_KILL_SOURCE_OUTPUT] = "SOURCE_OUTPUT",
> +    [PA_COMMAND_KILL_SOURCE_OUTPUT] = "KILL_SOURCE_OUTPUT",
>  
>      [PA_COMMAND_LOAD_MODULE] = "LOAD_MODULE",
>      [PA_COMMAND_UNLOAD_MODULE] = "UNLOAD_MODULE",
> @@ -157,7 +157,7 @@ static const char *command_names[PA_COMMAND_MAX] = {
>  
>      /* Supported since protocol v13 (0.9.11) */
>      [PA_COMMAND_UPDATE_RECORD_STREAM_PROPLIST] = "UPDATE_RECORD_STREAM_PROPLIST",
> -    [PA_COMMAND_UPDATE_PLAYBACK_STREAM_PROPLIST] = "UPDATE_RECORD_STREAM_PROPLIST",
> +    [PA_COMMAND_UPDATE_PLAYBACK_STREAM_PROPLIST] = "UPDATE_PLAYBACK_STREAM_PROPLIST",
>      [PA_COMMAND_UPDATE_CLIENT_PROPLIST] = "UPDATE_CLIENT_PROPLIST",
>      [PA_COMMAND_REMOVE_RECORD_STREAM_PROPLIST] = "REMOVE_RECORD_STREAM_PROPLIST",
>      [PA_COMMAND_REMOVE_PLAYBACK_STREAM_PROPLIST] = "REMOVE_PLAYBACK_STREAM_PROPLIST",
> @@ -174,7 +174,7 @@ static const char *command_names[PA_COMMAND_MAX] = {
>      [PA_COMMAND_GET_CARD_INFO_LIST] = "GET_CARD_INFO_LIST",
>      [PA_COMMAND_SET_CARD_PROFILE] = "SET_CARD_PROFILE",
>  
> -    [PA_COMMAND_CLIENT_EVENT] = "GET_CLIENT_EVENT",
> +    [PA_COMMAND_CLIENT_EVENT] = "CLIENT_EVENT",
>      [PA_COMMAND_PLAYBACK_STREAM_EVENT] = "PLAYBACK_STREAM_EVENT",
>      [PA_COMMAND_RECORD_STREAM_EVENT] = "RECORD_STREAM_EVENT",
>  
> 

Reviewed and applied, thanks!



-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic


More information about the pulseaudio-discuss mailing list