At Mon, 19 Nov 2001 16:17:43 +0100 (CET), Jaroslav wrote: > > On Mon, 19 Nov 2001, Takashi Iwai wrote: > > > Hmm, basically ice1712 driver needs to allocate a big chunk of > > contiguous memory as a buffer. Since it must be always for 10 > > channels with 32bit regardless how many channels/formats are used, the > > buffer size required is much higher than other normal consumer cards. > > And I guess it's the problem of aplay - aplay can use very small > > period/buffer size.. > > Maybe it'd be better to allocate a big memory at the boot time and > > keep it just like rme9652 driver does. > > Already done. See the alsa-driver/kernel/pcm_memory.c code.
Yep, I know it. But it's not what I meant.. rme9652 allocates a memory with an extra module which is persistent even after restarting the ALSA system (i.e. rcalsasound restart). But with the pcm_memory solution, the former memory chunk has been lost in reloading the driver, since it belongs to the ALSA core and must be unloaded/reloaded when the ALSA is restarted. And this will eventually lead to memory allocation error. Well, usually this isn't a problem -- when not so quite often the ALSA system is restarted. However, for example, on my system, on which is very frequently the driver is switched, memory allocation likely fails. I just thought that this possibly hits his case, too. Takashi _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
