[alsa-devel] [PATCH - microII 1/1] conf/cards: add Audio Advantage Micro II

Takashi Iwai tiwai at suse.de
Fri Jun 28 12:11:09 CEST 2013


At Thu, 27 Jun 2013 23:52:34 +0200,
Przemek Rudy wrote:
> 
> Signed-off-by: Przemek Rudy <prudy1 at o2.pl>

Ditto like the kernel patch.  The patch description is one of the most
important things.  Please give it more.


thanks,

Takashi

> 
> diff --git a/src/conf/cards/USB-Audio.conf b/src/conf/cards/USB-Audio.conf
> index 0d93175..8a6d9ca 100644
> --- a/src/conf/cards/USB-Audio.conf
> +++ b/src/conf/cards/USB-Audio.conf
> @@ -101,6 +101,41 @@ USB-Audio."Audiophile USB (tm)".pcm.iec958 {
>  	}
>  }
>  
> +# For this card we can (and must to get IEC61937) set AES bits
> +USB-Audio."MicroII".pcm.iec958 "cards.USB-Audio.Audio Advantage MicroII.pcm.iec958"
> +USB-Audio."Audio Advantage MicroII".pcm.iec958 {
> +	@args [ CARD AES0 AES1 AES2 AES3 ]
> +	@args.CARD { type string }
> +	@args.AES0 { type integer }
> +	@args.AES1 { type integer }
> +	@args.AES2 { type integer }
> +	@args.AES3 { type integer }
> +
> +    type hooks
> +    slave.pcm {
> +		type hw
> +		card $CARD
> +    }
> +
> +    hooks.0 {
> +		type ctl_elems
> +		hook_args [
> +			{
> +				interface PCM
> +				name "IEC958 Playback Default"
> +				preserve true
> +				optional true
> +				value [ $AES0 $AES1 $AES2 $AES3 ]
> +			}
> +			{
> +				name "IEC958 Playback Switch"
> +				lock true
> +				preserve true
> +				value 1
> +			}
> +		]
> +	}
> +}
>  
>  ################################################################################
>  
> -- 
> 1.8.1.4
> 


More information about the Alsa-devel mailing list