Re: [PATCH 1/1] Changing the Multi Track Peak control from MIXER to PCM type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Tue,  6 Oct 2009 14:51:06 +0200,
pavel.hofman@xxxxxxxxxxx wrote:
> 
> From: Pavel Hofman <pavel.hofman@xxxxxxxxxxx>
> 
> * The "Multi Track Peak" control is now of PCM type, to avoid
>   confusing users in other alsa mixers.

We still need to handle the older kernels, so it has to retry with
IFACE_MIXER as fallback.

Could you fix and repost?


Takashi

> 
> Signed-off-by: Pavel Hofman <pavel.hofman@xxxxxxxxxxx>
> 
> diff --git a/envy24control/levelmeters.c b/envy24control/levelmeters.c
> index 3bf1a94..9bdaace 100644
> --- a/envy24control/levelmeters.c
> +++ b/envy24control/levelmeters.c
> @@ -262,7 +262,7 @@ void level_meters_reset_peaks(GtkButton *button, gpointer data)
>  void level_meters_init(void)
>  {
>  	snd_ctl_elem_value_malloc(&peaks);
> -	snd_ctl_elem_value_set_interface(peaks, SND_CTL_ELEM_IFACE_MIXER);
> +	snd_ctl_elem_value_set_interface(peaks, SND_CTL_ELEM_IFACE_PCM);
>  	snd_ctl_elem_value_set_name(peaks, "Multi Track Peak");
>  }
>  
> -- 
> 1.5.4.3
> 
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux