Re: Driver design question

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

 



On Wed, 2006-09-27 at 19:18 +0200, Takashi Iwai wrote:
> 
> Well, when you have an intermediate buffer (allocated via
> snd_pcm_lib_malloc(), you don't need copy and silent callbacks.  The
> data is written on the intermediate buffer.  Then, the workq copies
> the data again from this buffer to the hardware in the background.
> 
> As I mentioned, the helpers in pcm-indirect.h might make things eaiser
> for such an implementation.  In your case, a pseudo code would look
> like below.
> 

Takashi-san,

Thanks very much!  I'll give these recommendations a try.

I am very glad that the ALSA driver API can handle such a weird hardware
PCM implementation.  Keep up the good work!

Lee


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/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