From: "Geoffrey D. Bennett" <g@b4.vu>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH RFC RESEND] ALSA: usb-audio: Scarlett mixer interface for 18i20 Gen 2
Date: Thu, 25 Apr 2019 05:33:25 +0930 [thread overview]
Message-ID: <20190424200325.GA6126@b4.vu> (raw)
In-Reply-To: <s5himv3oep6.wl-tiwai@suse.de>
On Wed, Apr 24, 2019 at 12:55:17PM +0200, Takashi Iwai wrote:
> On Wed, 24 Apr 2019 01:58:42 +0200,
> Geoffrey D. Bennett wrote:
> >
> > Add mixer quirk for the Focusrite Scarlett 18i20 Gen 2 audio
> > interface. Although the interface is USB compliant, additional
> > hardware mixing, routing, and metering functionality is available
> > using proprietary USB requests.
> >
> > Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
> > ---
> > (ping resend (no changes) as no feedback received for 3 weeks)
>
> Oh sorry, I must have overlooked the post.
No problem, thank you for your feedback.
> > - I added a private field to struct snd_usb_audio for storing the
> > private mixer data. This seems wrong, but I didn't know where else I
> > could/should put that data.
>
> Hm, this is a thing I'd like to avoid as much as possible.
> Currently, each usb_mixer_elem_info may have a private pointer, and
> the original scarlett quirk uses it for storing its own "type"
> information. This could be used for storing the data instead?
[...]
The original scarlett quirk private data is all related to each of the
mixer elements that they are attached to, but the private data I am
storing is unrelated to any specific mixer element (e.g. an
incrementing sequence number that is included in every proprietary USB
request). Do you think that I should just attach the data to the first
mixer element?
I have started work on extending the driver to support the 18i8 2nd
Gen interface as well, so I will incorporate all your feedback into
that and resend once complete.
Thanks again,
Geoffrey.
prev parent reply other threads:[~2019-04-24 20:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-23 23:58 [PATCH RFC RESEND] ALSA: usb-audio: Scarlett mixer interface for 18i20 Gen 2 Geoffrey D. Bennett
2019-04-24 10:55 ` Takashi Iwai
2019-04-24 20:03 ` Geoffrey D. Bennett [this message]
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=20190424200325.GA6126@b4.vu \
--to=g@b4.vu \
--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 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.