From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: HDSP and buffer pre-allocation Date: Mon, 30 May 2005 19:35:22 +0200 Message-ID: Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@lists.sourceforge.net Cc: Thomas Charbonnel List-Id: alsa-devel@alsa-project.org 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