alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Mack <zonque@gmail.com>
To: Igor Levin <IgorL@AntelopeAudio.com>
Cc: alsa-devel <alsa-devel@alsa-project.org>,
	Paul Davis <paul@linuxaudiosystems.com>
Subject: Re: running 32 chan AD/DA on Linux
Date: Mon, 11 Mar 2013 09:48:21 +0100	[thread overview]
Message-ID: <513D9A55.8050405@gmail.com> (raw)
In-Reply-To: <513D97CC.7060603@AntelopeAudio.com>

Hi Igor,

please don't remove the alsa ML from Cc:.

On 11.03.2013 09:37, Igor Levin wrote:

[...]

> But now we got a bit of a breather and our developers are finally able
> to give Linux the attention it deserves
> to get it going. I have couple fundamental question which you guys can
> help us with:
> 
> 1) Does Linux audio support the Implicit feedback mode where the Out
> pipe will source the same amount of
>      samples as are coming into related IN pipe.

Yes.

>  This is the sync mode
> we use in Orion 32. If this is so, could
>     you kindly provide the file/line number in the source code where we
> can see how it makes the packetising
>      decision.

Please have a look at sound/usb/endpoint.c - this is where the packet
logic lives in. Please read the comments in this file - the packet
sending for this implicit feedback mode is implemented in
queue_pending_output_urbs().

> 2) We are upgrading our Zodiac DAC to use asynchronous feedback mode.
> What Async feedback mode formats
>      does Linux support? Where can we see it in the source?

Linux supports feedback over dedicated isochronous endpoints as well.
The format is auto-detected in snd_usb_handle_sync_urb(), also in
sound/usb/endpoint.c, after each stream start. Internally, the driver
uses Q16.16.

Hope this helps. In case of more specific questions, please just let me
know.


Thanks,
Daniel

       reply	other threads:[~2013-03-11  8:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <50F158F5.4050605@AntelopeAudio.com>
     [not found] ` <CAFa_cK=pShsoXHa8VGyERoCfn2+yPTeMBTMFAfsJaK0d-KEUuw@mail.gmail.com>
     [not found]   ` <50F59673.4010603@AntelopeAudio.com>
     [not found]     ` <CAFa_cKmfDC1NethK=p-f7bEWGvzCDLWpx0Y0qOSqic=-7qUb2A@mail.gmail.com>
     [not found]       ` <50FBE020.7090606@AntelopeAudio.com>
     [not found]         ` <CAFa_cK=fiRUXu2YNKkR8owx=B-MS+PR==PKPokzYXM+Q6XmcpQ@mail.gmail.com>
     [not found]           ` <513D97CC.7060603@AntelopeAudio.com>
2013-03-11  8:48             ` Daniel Mack [this message]
     [not found]               ` <513D9C38.1090901@AntelopeAudio.com>
2013-03-11 10:02                 ` running 32 chan AD/DA on Linux Daniel Mack

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=513D9A55.8050405@gmail.com \
    --to=zonque@gmail.com \
    --cc=IgorL@AntelopeAudio.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=paul@linuxaudiosystems.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;
as well as URLs for NNTP newsgroup(s).