From: "Przemysław Rudy" <prudy1@o2.pl>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH - microII 1/1] conf/cards: add Audio Advantage Micro II
Date: Fri, 28 Jun 2013 13:13:38 +0200 [thread overview]
Message-ID: <51CD6FE2.5080200@o2.pl> (raw)
In-Reply-To: <s5hvc4ymtoi.wl%tiwai@suse.de>
Please find the following description:
------------------
This patch is adding extensive support (beside standard usb audio class)
for Audio Advantage Micro II usb sound card. This patch depends on
related kernel patch.
Features included:
- Add AES bits controls (so they can be accessible via device suffix
AESn= as well as via tools like iecset).
- SPDIF switch control added to turn on/off the optical transmitter
(accessible e.g. via alsamixer tool)
------------------
Best,
Przemek
On 2013-06-28 12:11, Takashi Iwai wrote:
> At Thu, 27 Jun 2013 23:52:34 +0200,
> Przemek Rudy wrote:
>>
>> Signed-off-by: Przemek Rudy <prudy1@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
>>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
next prev parent reply other threads:[~2013-06-28 11:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-27 21:52 [PATCH - microII 1/1] ALSA: usb-audio: Add Audio Advantage Micro II Przemek Rudy
2013-06-27 21:52 ` [PATCH - microII 1/1] conf/cards: add " Przemek Rudy
2013-06-28 10:11 ` Takashi Iwai
2013-06-28 11:13 ` Przemysław Rudy [this message]
2013-07-29 18:29 ` Przemek Rudy
2013-07-30 5:56 ` Takashi Iwai
2013-06-28 10:10 ` [PATCH - microII 1/1] ALSA: usb-audio: Add " Takashi Iwai
2013-06-28 11:07 ` Przemysław Rudy
2013-06-28 11:39 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51CD6FE2.5080200@o2.pl \
--to=prudy1@o2.pl \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox