All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Revell <rlrevell@joe-job.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: Paul Davis <paul@linuxaudiosystems.com>,
	Alsa-devel@lists.sourceforge.net, pzad@pobox.sk
Subject: Re: emu10k1 latency / capture period
Date: Fri, 18 Jun 2004 15:39:40 -0400	[thread overview]
Message-ID: <40D344FC.8070804@joe-job.com> (raw)
In-Reply-To: <s5hacz1p5vd.wl@alsa2.suse.de>

Takashi Iwai wrote:

> At Thu, 17 Jun 2004 19:26:46 -0400,
> Paul Davis wrote:
> 
>>>To reiterate the situation:  currently the ASIO drivers for this card 
>>>provide an order of magnitude
>>>better latency than the ALSA driver.  I am constantly hearing claims 
>>>that ALSA is superior to ASIO,
>>>but no one can tell me why the ALSA drivers for this *very* common 
>>>device provide 5-10x worse latency
>>>than the ASIO drivers.
>>>
>>>As I see it, this is a glaring deficiency.
>>
>>as a disinterested observer, i would just note that by my
>>understanding, Creative have not released all the necessary
>>programming information on the emu10k1. i suspect that whatever is
>>necessary to get the period size down to the levels the ASIO driver(s)
>>are using is in the information that they will not release without an
>>NDA. 
> 
> 
> It might be.  But my guess is that ASIO uses the playback interrupt
> for capture, too.
> 

Thank you, this was the idea that I had, to use the playback interrupt 
to drive the capture.  I was hoping someone with in-depth knowledge of 
ALSA would agree.

Is there another ALSA driver that provides an example of this kind of 
design?  I am pretty new to hacking device drivers and an example would 
be helpful, if one is available.

P.S. Here is some background for people who are familiar with the 
emu10k1 hardware but don't use Windows or the kX drivers, I think there 
are a few on this list: The kX ASIO driver maps each FXBus channel onto 
an ASIO input and output port.  In order to do low latency/multichannel 
recording, you have to use the DSP manager to connect one of the 
physical inputs or outputs to an FXBus channel, then your ASIO app can 
read or write to that channel.

I think we only need to be concerned with the FXBus capture/playback device.

Lee


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND

  reply	other threads:[~2004-06-18 19:39 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-17  9:06 emu10k1 latency / capture period Peter Zubaj
2004-06-17 18:37 ` Lee Revell
2004-06-17 23:26   ` Paul Davis
2004-06-18  9:33     ` Takashi Iwai
2004-06-18 19:39       ` Lee Revell [this message]
2004-06-18 23:26       ` Lee Revell
  -- strict thread matches above, loose matches on Subject: below --
2004-06-21  8:03 Peter Zubaj
2004-06-21 15:26 ` Takashi Iwai
2004-06-21 20:27   ` Lee Revell
2004-06-16 20:14 Lee Revell
2004-06-16 20:52 ` James Courtier-Dutton
2004-06-16 21:02   ` Lee Revell
2004-06-20  4:06 ` Lee Revell
2004-06-21 15:35   ` Takashi Iwai
2004-06-21 15:54     ` Takashi Iwai
2004-06-21 20:20       ` Lee Revell
2004-06-22 11:13         ` Takashi Iwai
2004-06-22 11:29           ` Jaroslav Kysela
2004-06-22 12:47             ` Takashi Iwai
2004-06-22 21:15               ` Lee Revell
2004-06-28 20:44               ` Lee Revell
2004-06-22 20:26             ` Lee Revell
2004-06-22 18:48           ` Lee Revell
2004-06-21 20:25     ` Lee Revell
2004-07-08  0:40     ` Lee Revell

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=40D344FC.8070804@joe-job.com \
    --to=rlrevell@joe-job.com \
    --cc=Alsa-devel@lists.sourceforge.net \
    --cc=paul@linuxaudiosystems.com \
    --cc=pzad@pobox.sk \
    --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.