Re: [PATCH 1/3] Add SuperH FSI driver support for ALSA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 19, 2009 at 02:39:06PM +0200, Takashi Iwai wrote:

> Note that it's snd_pcm_lib_malloc_pages(), not the kernel's standard
> one like alloc_pages().  The former frees the old buffer by itself
> when resized, so you don't need to call snd_pcm_lib_free_pages()
> (as long as it's called in hw_free callback).

Oh, so it does - I misread the code as only shrinking an existing
buffer.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux