* HDSP and buffer pre-allocation
@ 2005-05-30 17:35 Takashi Iwai
0 siblings, 0 replies; only message in thread
From: Takashi Iwai @ 2005-05-30 17:35 UTC (permalink / raw)
To: alsa-devel; +Cc: Thomas Charbonnel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-05-30 17:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-30 17:35 HDSP and buffer pre-allocation Takashi Iwai
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.