Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: LCID Fire <lcid-fire@gmx.net>
To: alsa-devel@alsa-project.org
Subject: Hints for usb audio patch
Date: Wed, 05 Nov 2008 12:07:19 +0100	[thread overview]
Message-ID: <49117E67.8000100@gmx.net> (raw)

Hi.
I have a patch lying around for some month now and would need some hints
how to correctly implement it.

1. What's the correct way to save the state of a special feature? There
is a switch which turns on a certain feature in the usb mixer. Looking
at the struct usb_mixer_interface I implemented it similar to
"audigy2nx_leds" - by adding a new u8 (and the necessary functions).

2. Should one rather set ignore_ctl_error to 1 (which I currently do) or
sort the errors out by adding a handling for a specific device?

3. For the switch to active I need an interrupt message for which I
implemented snd_usb_interrupt_trans since I did not find any other
convenience function to do this.

             reply	other threads:[~2008-11-05 11:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-05 11:07 LCID Fire [this message]
2008-11-07 14:20 ` Hints for usb audio patch Clemens Ladisch

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=49117E67.8000100@gmx.net \
    --to=lcid-fire@gmx.net \
    --cc=alsa-devel@alsa-project.org \
    /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