From: Eduard Gilmutdinov <edgilmutdinov@gmail.com>
To: alsa-devel@alsa-project.org
Cc: mark@xwax.org, daniel@zonque.org
Subject: [RFC PATCH 0/2] Add support for audio cards with multiple endpoints on the one interface
Date: Tue, 13 May 2014 10:08:49 +0600 [thread overview]
Message-ID: <1399954131-26516-1-git-send-email-edgilmutdinov@gmail.com> (raw)
Devices of company Focusrite (Novation) contain multiple endpoints on a single interface. In particular (1235:0010) "Novation Saffire 6 USB" on one interface have endpoints for playback and capture. Functions "set_format" and "pcm_close" are generated when new stream is creating and when it is closing respectively. They contain a function call "usb_set_interface" which resets interface and endpoints on it. Thus it is imposible to capture and playback a sound at the same time. To avoid this, suggest to monitor the status of the interface and endpoint on it. Status of endpoints can be monitored by the field "enabled" of the structure "usb_host_endpoint". This approach should not affect for the audio cards with one endpoint on the interface.
Please correct me if I'm wrong.
next reply other threads:[~2014-05-13 4:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-13 4:08 Eduard Gilmutdinov [this message]
2014-05-13 4:08 ` [RFC PATCH 1/2] Adds a check of the state of endpoints on the interface before invoking the usb_set_interface Eduard Gilmutdinov
2014-05-13 4:08 ` [RFC PATCH 2/2] Add support for capture through external audio card Focusrite Saffire 6 USB Eduard Gilmutdinov
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=1399954131-26516-1-git-send-email-edgilmutdinov@gmail.com \
--to=edgilmutdinov@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=daniel@zonque.org \
--cc=mark@xwax.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