HDSP and buffer pre-allocation
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