From: Lee Revell <rlrevell@joe-job.com>
To: Jaroslav Kysela <perex@suse.cz>
Cc: mjander@users.sourceforge.net,
alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: hardware channel mixing [EMU10K1 DMA]
Date: Tue, 07 Sep 2004 15:34:33 -0400 [thread overview]
Message-ID: <1094585672.16954.113.camel@krustophenia.net> (raw)
In-Reply-To: <Pine.LNX.4.58.0409072104340.32166@linux.local>
On Tue, 2004-09-07 at 15:16, Jaroslav Kysela wrote:
> On Tue, 7 Sep 2004, Lee Revell wrote:
>
> > On Tue, 2004-09-07 at 04:23, Jaroslav Kysela wrote:
> > > On Tue, 7 Sep 2004, Lee Revell wrote:
> > >
> > > > The interval timer seems to be intended exactly for this use; I am a bit
> > > > baffled as to why was the channel loop interrupt, a relatively obscure
> > > > feature, was chosen as the playback interrupt source.
> > >
> > > No, in this case you don't get exact interrupt at period boundary.
> > > It seems bigger problem (wrapping) than having an extra voice.
> > >
> >
> > Hmm. If this is the case then it really seems like the OSS driver
> > should not work at all then.
>
> It works, but with higher latencies than application requested. You can
> probably write a timer scheduler code, but it will be probably
> a maintenance nightmare.
>
Hmm, OK. Guess I will have to try it.
> > You mentioned previously that removing the extra voice would only allow
> > 2 periods per buffer. Do you mean that the interval timer could be used
>
> Yes, if we can do proper interrupt in the middle of voice's buffer.
>
OK.
> > How did you figure out the use of the channel loop interrupt, as this is
> > not used in the OSS driver at all?
>
> I don't remember exactly. Maybe from old EMU8000 (because some things are
> common) and the header file from OSS driver.
>
Hmm, I will have a look at that one.
> > like I can implement the kX ASIO functionality without needing the extra
> > voice because the efx capture device provides a very high resolution
> > timer.
>
> You can create a special playback PCM which will share efx interrupt, of
> course. But I don't know, how you expect to synchronize multiple streams
> for exact sample resolution, because you cannot start multiple playback
> streams using one i/o transaction for emu10k? chips.
>
I think you can start a stereo stream using one I/O transaction, but
right, I think you are limited to opening 2 at a time. Anyway it works
great in Windows with the kX driver so there must be a way. If I have
to I will reverse engineer it. Thanks for the info.
Lee
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
next prev parent reply other threads:[~2004-09-07 19:34 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-29 15:03 hardware channel mixing Patrick Dumais
2004-09-03 12:59 ` Clemens Ladisch
2004-09-03 13:15 ` Patrick Dumais
2004-09-03 13:24 ` Clemens Ladisch
2004-09-03 13:58 ` Florian Schmidt
2004-09-03 14:04 ` Patrick Dumais
2004-09-03 14:31 ` Florian Schmidt
2004-09-03 14:34 ` Patrick Dumais
2004-09-03 15:23 ` Florian Schmidt
2004-09-07 5:04 ` Glenn Maynard
2004-09-03 23:30 ` Lee Revell
2004-09-04 1:19 ` Manuel Jander
2004-09-04 23:28 ` Lee Revell
2004-09-05 3:02 ` Manuel Jander
2004-09-05 5:06 ` Lee Revell
2004-09-05 18:12 ` Manuel Jander
2004-09-05 18:39 ` Lee Revell
2004-09-05 18:28 ` Lee Revell
2004-09-06 11:54 ` Jaroslav Kysela
2004-09-06 20:41 ` Lee Revell
2004-09-07 1:09 ` hardware channel mixing [EMU10K1 DMA] Manuel Jander
2004-09-07 4:47 ` Lee Revell
2004-09-07 6:53 ` Lee Revell
2004-09-07 8:23 ` Jaroslav Kysela
2004-09-07 18:26 ` Lee Revell
2004-09-07 19:16 ` Jaroslav Kysela
2004-09-07 19:34 ` Lee Revell [this message]
2004-09-07 19:41 ` Jaroslav Kysela
2004-09-07 19:46 ` Lee Revell
2004-09-07 19:48 ` Lee Revell
2004-09-07 19:52 ` Jaroslav Kysela
2004-09-07 20:06 ` Lee Revell
2004-09-08 22:49 ` 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=1094585672.16954.113.camel@krustophenia.net \
--to=rlrevell@joe-job.com \
--cc=alsa-devel@lists.sourceforge.net \
--cc=mjander@users.sourceforge.net \
--cc=perex@suse.cz \
/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