From: Eldad Zack <eldad@fogrefinery.com>
To: Takashi Iwai <tiwai@suse.de>, Daniel Mack <zonque@gmail.com>,
Felix Homann <linuxaudio@showlabor.de>,
Clemens Ladisch <clemens@ladisch.de>,
alsa-devel@alsa-project.org
Cc: Grant Diffey <gdiffey@gmail.com>,
George Willian Condomitti <georgecondomitti@gmail.com>,
Chris Cavey <chris-alsa@rauros.net>,
Eldad Zack <eldad@fogrefinery.com>
Subject: [FT C400,PATCH RFC,v3 0/9] M-Audio Fast Track C400
Date: Tue, 27 Nov 2012 17:00:49 +0100 [thread overview]
Message-ID: <1354032058-668-1-git-send-email-eldad@fogrefinery.com> (raw)
Hi,
The following patches adds support for the M-Audio Fast Track C400.
This is version 3 of the patch series.
v2:
http://mailman.alsa-project.org/pipermail/alsa-devel/2012-November/056750.html
This series applies against the latest mainline tree, 3.7-rc7
(HEAD 2844a48706e54ddda4a04269dba4250b42f449de )
* First of all, everything works: mixer controls, effects control,
playback and capture (with the correct sampling frequency set).
Note that the device doesn't really have a master control or left/right
pan. It's just "emulated" in the software.
* To deal with the mixer channel IDs, limited by cmask bit length,
I introduced an offset value. This allows to get rid of the shorehorning
of the IDs into cmask and device-referencing in the low-level functions.
Is this a good approach?
* Audio in/out seems to work good in this series, mainly because the
playback is an implicit feedback endpoint, and it is now configured
with the capture endpoint as its sync-buddy. Also needed to correct
the calculation, because of the different channel numbers between
the two endpoints on the C400 (6 playback - implicit feedback, 4 capture).
* The clock sources are still named "Unit 129" (0x81, internal) and
"Unit 130" (0x82, SPDIF). I'll fix this later. I also plan to fix the
channel names (i.e., instead of "AIn3", use "SPDIF In L").
* I've touched one FTU mixer creation function. I'd appreciate if someone
can test this with the FTU to make sure I didn't break something.
(I haven't gotten any feedback on that one yet)
Cheers,
Eldad
Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
Eldad Zack (9):
usb-audio: replace hardcoded value with const
usb-audio: use sender stride for implicit feedback
usb-audio: add control index offset
usb-audio: skip UAC2 EFFECT_UNIT
usb-audio: parameterize FTU effect unit control
usb-audio: M-Audio Fast Track C400 quirks table
usb-audio: Fast Track C400 mixer ranges
usb-audio: Fast Track C400 mixer controls
usb-audio: FT C400 sync playback EP to capture EP
sound/usb/endpoint.c | 9 ++-
sound/usb/mixer.c | 53 +++++++++++-
sound/usb/mixer.h | 1 +
sound/usb/mixer_quirks.c | 216 ++++++++++++++++++++++++++++++++++++++++++++--
sound/usb/pcm.c | 15 +++-
sound/usb/quirks-table.h | 71 +++++++++++++++
6 files changed, 351 insertions(+), 14 deletions(-)
--
1.7.8.6
next reply other threads:[~2012-11-27 16:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-27 16:00 Eldad Zack [this message]
2012-11-27 16:00 ` [FT C400, PATCH RFC, v3 1/9] usb-audio: replace hardcoded value with const Eldad Zack
2012-11-27 16:00 ` [FT C400, PATCH RFC, v3 2/9] usb-audio: use sender stride for implicit feedback Eldad Zack
2012-11-27 16:00 ` [FT C400, PATCH RFC, v3 3/9] usb-audio: add control index offset Eldad Zack
2012-11-27 16:00 ` [FT C400, PATCH RFC, v3 4/9] usb-audio: skip UAC2 EFFECT_UNIT Eldad Zack
2012-11-27 16:00 ` [FT C400, PATCH RFC, v3 5/9] usb-audio: parameterize FTU effect unit control Eldad Zack
2012-11-27 16:00 ` [FT C400, PATCH RFC, v3 6/9] usb-audio: M-Audio Fast Track C400 quirks table Eldad Zack
2012-11-27 16:11 ` Clemens Ladisch
2012-11-27 16:44 ` Eldad Zack
2012-11-28 10:20 ` Takashi Iwai
2012-11-27 16:00 ` [FT C400, PATCH RFC, v3 7/9] usb-audio: Fast Track C400 mixer ranges Eldad Zack
2012-11-27 16:12 ` Clemens Ladisch
2012-11-27 17:44 ` Eldad Zack
2012-11-27 16:00 ` [FT C400, PATCH RFC, v3 8/9] usb-audio: Fast Track C400 mixer controls Eldad Zack
2012-11-27 16:00 ` [FT C400, PATCH RFC, v3 9/9] usb-audio: FT C400 sync playback EP to capture EP Eldad Zack
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=1354032058-668-1-git-send-email-eldad@fogrefinery.com \
--to=eldad@fogrefinery.com \
--cc=alsa-devel@alsa-project.org \
--cc=chris-alsa@rauros.net \
--cc=clemens@ladisch.de \
--cc=gdiffey@gmail.com \
--cc=georgecondomitti@gmail.com \
--cc=linuxaudio@showlabor.de \
--cc=tiwai@suse.de \
--cc=zonque@gmail.com \
/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