From: Takashi Iwai <tiwai@suse.de>
To: alsa-devel@lists.sourceforge.net
Cc: Thomas Charbonnel <thomas@undata.org>
Subject: HDSP and buffer pre-allocation
Date: Mon, 30 May 2005 19:35:22 +0200 [thread overview]
Message-ID: <s5hbr6svcpx.wl@alsa2.suse.de> (raw)
Hi,
right now I committed patches to change the behavior of snd-page-alloc
and snd-hdsp/rme9652. Now /proc/drivers/snd-page-alloc file accepts
the write, so that user can do pre-allocation more flexibly.
A brief note is found in Documentation/ALSA-Configuration.txt. What
you'd need to do is:
1. load snd-page-alloc in the boot sequence (modprobe snd-page-alloc),
e.g. /etc/init.d/rc.local
2. Write to /proc/drivers/snd-page-alloc with the proper parameters
e.g. for HDSP,
add 0x10ee 0x3fc5 0 1769472 2
which will allocate two buffers of 1769472 bytes for the device
1033:3fc5 (HDSP's pci id).
The buffers will be kept as long as snd-page-alloc module is loaded
and unless "erase" command is issued. So, replugging the hdsp card
should work better now.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
reply other threads:[~2005-05-30 17:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=s5hbr6svcpx.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=thomas@undata.org \
/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