[alsa-devel] data write in alsa

Vinod Koul vinod.koul at linux.intel.com
Fri Dec 2 07:54:41 CET 2011


Hi Takashi,

For alsa pcm we have two ways to write data, either we use write()
system call or use ioctl SNDRV_PCM_IOCTL_WRITEI_FRAMES.

Is there any specific reason why we have two methods and which one is
preferred and why?

This question is basically for compress API, should we add similar write
method thru ioctls, if so why?

-- 
~Vinod



More information about the Alsa-devel mailing list