From: Paul Davis <pbd@op.net>
To: daniel sheltraw <l5gibson@hotmail.com>
Cc: annabellesgarden@yahoo.de, alsa-devel@alsa-project.org
Subject: Re: AW: general audio card Q
Date: Tue, 30 Jul 2002 19:25:50 -0400 [thread overview]
Message-ID: <200207302324.BAA10183@alsa.alsa-project.org> (raw)
In-Reply-To: Your message of "Tue, 30 Jul 2002 13:00:05 CDT." <F25RQN738VIwWqjBr3D00018c50@hotmail.com>
>>i'm not exactly shure, what is double-buffers... the turtle beach
>>pinnacle/fiji has shared memory, that can be accessed
>>simultanously from the pc & the sound card.
>
>Some cards/chipsets (RME PST, ESS solo1) allow one to transfer
>data for playback (record is similar) using a memory-mapped double-buffer.
>When buffer 1 has emptied its data to the DAC an
>interrupt is issued. An ISR then fills buffer 1 with more
>sound data while the buffer 2 continues to send its data to
>the DAC for playback. When buffer 2 is emptied it causes an
>interrupt and an ISR can fill it again. This goes on and on
>until all data is played back.
this has nothing to do with DMA or not. what you're describing in ALSA
terms is a configuration with 2 periods per buffer. nothing more
less. just about all ALSA support hardware allows for this
configuration; a few don't allow anything else.
the question as i read it was about cards that cannot do DMA. no
matter how many periods, buffers or whatever, they rely on the host
CPU to move data into memory on their hardware. such cards are rare,
and getting rarer. see rui's recent post for a description of how
cards that do use DMA use it.
>In this method the transfer of the data from memory to the
>memory-mapped buffers is performed by the CPU. This is in
>contrast to DMA transfer of data where the busmaster on the
>sound card controls transfer of data from memory to card.
No, this has nothing to do with "double buffering". "double buffering"
is a description of a particular configuration, not a mechanism. it
can be accomplished in various ways.
>So far I only know of the two cards mentioned above but there
>must be others that allow data tranfser in this manner. I would
>like to know which cards have the capablity to do this whether
>or not ALSA supports this method yet in their drivers.
cards that do not use DMA should generally be considered inferior
because of the extra CPU cycles they force on the host system.
ALSA neither supports nor not-supports this in the drivers. Its an
implementation detail for the low-level (h/w specific) driver code;
the mid-level code knows nothing about it.
--p
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
next prev parent reply other threads:[~2002-07-30 23:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-30 18:00 AW: general audio card Q daniel sheltraw
2002-07-30 23:25 ` Paul Davis [this message]
2002-07-31 11:20 ` Karsten Wiese
2002-07-31 12:47 ` Paul Davis
-- strict thread matches above, loose matches on Subject: below --
2002-07-31 6:07 daniel sheltraw
2002-07-31 13:06 ` Paul Davis
2002-07-30 4:49 daniel sheltraw
2002-07-30 9:56 ` AW: " Karsten Wiese
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=200207302324.BAA10183@alsa.alsa-project.org \
--to=pbd@op.net \
--cc=alsa-devel@alsa-project.org \
--cc=annabellesgarden@yahoo.de \
--cc=l5gibson@hotmail.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 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.