* Hints for usb audio patch
@ 2008-11-05 11:07 LCID Fire
2008-11-07 14:20 ` Clemens Ladisch
0 siblings, 1 reply; 2+ messages in thread
From: LCID Fire @ 2008-11-05 11:07 UTC (permalink / raw)
To: alsa-devel
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Hints for usb audio patch
2008-11-05 11:07 Hints for usb audio patch LCID Fire
@ 2008-11-07 14:20 ` Clemens Ladisch
0 siblings, 0 replies; 2+ messages in thread
From: Clemens Ladisch @ 2008-11-07 14:20 UTC (permalink / raw)
To: LCID Fire; +Cc: alsa-devel
LCID Fire wrote:
> 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?
As long as it works fine with ignore_ctl_error, there's no reason to
add more code.
> 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.
Well, I'd need to see the code to evaluate your solution ... :-)
Regards,
Clemens
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-07 14:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-05 11:07 Hints for usb audio patch LCID Fire
2008-11-07 14:20 ` Clemens Ladisch
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.