Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] Add support for audio cards with multiple endpoints on the one interface
@ 2014-05-13  4:08 Eduard Gilmutdinov
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Eduard Gilmutdinov @ 2014-05-13  4:08 UTC (permalink / raw)
  To: alsa-devel; +Cc: mark, daniel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-13  4:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-13  4:08 [RFC PATCH 0/2] Add support for audio cards with multiple endpoints on the one interface Eduard Gilmutdinov
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox