[pulseaudio-discuss] [PATCH] loopback: don't reuse low-numbered message IDs

David Henningsson david.henningsson at canonical.com
Mon Feb 16 02:52:19 PST 2015


Well, the big issue I guess is that in current state, 
PA_SOURCE_OUTPUT_MESSAGE_GET_LATENCY messages always return 0.

Maybe there should be a sentence about that, or I could just push it as 
it is. What do you think?

On 2015-02-11 17:50, Alexander E. Patrakov wrote:
> Signed-off-by: Alexander E. Patrakov <patrakov at gmail.com>
> ---
>   src/modules/module-loopback.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/modules/module-loopback.c b/src/modules/module-loopback.c
> index 7e2b92a..3b0d68d 100644
> --- a/src/modules/module-loopback.c
> +++ b/src/modules/module-loopback.c
> @@ -126,7 +126,7 @@ enum {
>   };
>
>   enum {
> -    SOURCE_OUTPUT_MESSAGE_LATENCY_SNAPSHOT
> +    SOURCE_OUTPUT_MESSAGE_LATENCY_SNAPSHOT = PA_SOURCE_OUTPUT_MESSAGE_MAX,
>   };
>
>   static void enable_adjust_timer(struct userdata *u, bool enable);
>

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


More information about the pulseaudio-discuss mailing list