All of lore.kernel.org
 help / color / mirror / Atom feed
* what is the difference between SNDRV_PCM_IOCTL_WRITEN_FRAMES and SNDRV_PCM_IOCTL_WRITEI_FRAMES
@ 2013-05-20  7:14 Zhang wei
  2013-05-20 11:41 ` Clemens Ladisch
  0 siblings, 1 reply; 5+ messages in thread
From: Zhang wei @ 2013-05-20  7:14 UTC (permalink / raw)
  To: alsa-devel

I know the format likes below when use SNDRV_PCM_IOCTL_WRITEI_FRAMES
<http://lxr.free-electrons.com/ident?i=SNDRV_PCM_IOCTL_WRITEN_FRAMES> 
L+R+L+R+L+R...
L:a frame left channel data.
R:a frame right channel data.
Right?
 
But what is the kind of format when use SNDRV_PCM_IOCTL_WRITEN_FRAMES
<http://lxr.free-electrons.com/ident?i=SNDRV_PCM_IOCTL_WRITEN_FRAMES> ?
 
Thank you:-)
Br
zw
 

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

* Re: what is the difference between SNDRV_PCM_IOCTL_WRITEN_FRAMES and SNDRV_PCM_IOCTL_WRITEI_FRAMES
  2013-05-20  7:14 what is the difference between SNDRV_PCM_IOCTL_WRITEN_FRAMES and SNDRV_PCM_IOCTL_WRITEI_FRAMES Zhang wei
@ 2013-05-20 11:41 ` Clemens Ladisch
  2013-05-21  6:46   ` Zhang wei
  0 siblings, 1 reply; 5+ messages in thread
From: Clemens Ladisch @ 2013-05-20 11:41 UTC (permalink / raw)
  To: Zhang wei; +Cc: alsa-devel

Zhang wei wrote:
> I know the format likes below when use SNDRV_PCM_IOCTL_WRITEI_FRAMES
> L+R+L+R+L+R...
> L:a frame left channel data.
> R:a frame right channel data.
>
> But what is the kind of format when use SNDRV_PCM_IOCTL_WRITEN_FRAMES?

Multiple buffers, LLL... and RRR...


Regards,
Clemens

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

* Re: what is the difference between SNDRV_PCM_IOCTL_WRITEN_FRAMES and SNDRV_PCM_IOCTL_WRITEI_FRAMES
  2013-05-20 11:41 ` Clemens Ladisch
@ 2013-05-21  6:46   ` Zhang wei
  2013-05-21  8:01     ` Clemens Ladisch
  0 siblings, 1 reply; 5+ messages in thread
From: Zhang wei @ 2013-05-21  6:46 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel

 

>Multiple buffers, LLL... and RRR...

Thank you very much.

 

But how long the data of LLL...and RRR... ?

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

* Re: what is the difference between SNDRV_PCM_IOCTL_WRITEN_FRAMES and SNDRV_PCM_IOCTL_WRITEI_FRAMES
  2013-05-21  6:46   ` Zhang wei
@ 2013-05-21  8:01     ` Clemens Ladisch
  2013-05-21  8:23       ` Zhang wei
  0 siblings, 1 reply; 5+ messages in thread
From: Clemens Ladisch @ 2013-05-21  8:01 UTC (permalink / raw)
  To: Zhang wei; +Cc: alsa-devel

Zhang wei wrote:
>> Multiple buffers, LLL... and RRR...
>
> But how long the data of LLL...and RRR... ?

That is the last parameter of snd_pcm_writen().


Regards,
Clemens

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

* Re: what is the difference between SNDRV_PCM_IOCTL_WRITEN_FRAMES and SNDRV_PCM_IOCTL_WRITEI_FRAMES
  2013-05-21  8:01     ` Clemens Ladisch
@ 2013-05-21  8:23       ` Zhang wei
  0 siblings, 0 replies; 5+ messages in thread
From: Zhang wei @ 2013-05-21  8:23 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel

>That is the last parameter of snd_pcm_writen().

 

Thank you very much :-)

I try to test it again .

 

---

BR

zw

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

end of thread, other threads:[~2013-05-21  8:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-20  7:14 what is the difference between SNDRV_PCM_IOCTL_WRITEN_FRAMES and SNDRV_PCM_IOCTL_WRITEI_FRAMES Zhang wei
2013-05-20 11:41 ` Clemens Ladisch
2013-05-21  6:46   ` Zhang wei
2013-05-21  8:01     ` Clemens Ladisch
2013-05-21  8:23       ` Zhang wei

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.