Re: hw_params function and OSS emulation

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

 



Takashi Iwai wrote:

> Err, usually, application = user-space application.  Do you mean
> really this?

Yes.  The application allocates a buffer, locks it down, and passes it to the 
kernel.  Since the buffer was allocated in user space, it is virtual 
contiguous but not physically contiguous, hence the need for a list of 
physical addresses.  To the hardware, the buffer appears as a collection of 
scattered buffers.  Hence, scatter/gather.

Like I said, I haven't look at the ALSA API for S/G, so I may be talking about 
an implementation of S/G that does not apply to ALSA.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale
_______________________________________________
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