All of lore.kernel.org
 help / color / mirror / Atom feed
* Doubt on implementing .readi and .readn methods
@ 2006-05-12 19:27 Juan Carlos Castro y Castro
  2006-05-15  9:29 ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: Juan Carlos Castro y Castro @ 2006-05-12 19:27 UTC (permalink / raw)
  To: alsa-devel

I'm a bit confused about what "areas" and "frames" are supposed to mean, 
and in which order the data pointed to by **bufs corresponds to the data 
that's written to disk in the .writen functions. I tried to follow the 
logic in the functions  snd_pcm_areas_from_buf(),  
snd_pcm_areas_from_bufs(), snd_pcm_file_add_frames(), and 
snd_pcm_areas_copy(), and it feels like a labyrinth.

Another thing, are the .readi and .readn functions supposed to block, or 
can they return less bytes (frames?) than requested?

Cheers,
Juan


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

end of thread, other threads:[~2006-05-17 13:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-12 19:27 Doubt on implementing .readi and .readn methods Juan Carlos Castro y Castro
2006-05-15  9:29 ` Takashi Iwai
2006-05-15 20:05   ` Juan Carlos Castro y Castro
2006-05-15 20:31     ` Juan Carlos Castro y Castro
2006-05-15 20:38     ` Lee Revell
2006-05-15 20:56       ` Juan Carlos Castro y Castro
2006-05-15 21:19         ` Lee Revell
2006-05-15 21:29           ` Juan Carlos Castro y Castro
2006-05-16 21:17   ` Juan Carlos Castro y Castro
2006-05-17 13:37     ` Takashi Iwai

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.