All of lore.kernel.org
 help / color / mirror / Atom feed
* data write in alsa
@ 2011-12-02  6:54 Vinod Koul
  2011-12-02  7:12 ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Vinod Koul @ 2011-12-02  6:54 UTC (permalink / raw)
  To: Takashi Iwai, Mark Brown; +Cc: alsa, Pierre-louis Bossart

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-12-02 11:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-02  6:54 data write in alsa Vinod Koul
2011-12-02  7:12 ` Takashi Iwai
2011-12-02  7:16   ` Jaroslav Kysela
2011-12-02 11:47     ` Vinod Koul

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.