Update of /cvsroot/alsa/alsa-lib/src/pcm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25888

Modified Files:
        pcm.c 
Log Message:
Fixed comments for snd_pcm_avail_update/snd_pcm_delay/snd_pcm_hwsync

Index: pcm.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm.c,v
retrieving revision 1.276
retrieving revision 1.277
diff -u -r1.276 -r1.277
--- pcm.c       5 Mar 2004 08:14:05 -0000       1.276
+++ pcm.c       12 Mar 2004 19:07:20 -0000      1.277
@@ -878,7 +878,7 @@
  *
  * Note this function does not update the actual r/w pointer
  * for applications. The function #snd_pcm_avail_update()
- * have to be called before any read/write/begin+commit operation.
+ * have to be called before any mmap begin+commit operation.
  */
 int snd_pcm_hwsync(snd_pcm_t *pcm)
 {
@@ -901,7 +901,7 @@
  *
  * Note this function does not update the actual r/w pointer
  * for applications. The function #snd_pcm_avail_update()
- * have to be called before any read/write/begin+commit operation.
+ * have to be called before any begin+commit operation.
  */
 int snd_pcm_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp)
 {
@@ -2088,6 +2088,9 @@
  *
  * On capture does all the actions needed to transport to application
  * level all the ready frames across underlying layers.
+ *
+ * Using of this function is useless for the standard read/write
+ * operations. Use it only for mmap access. See to #snd_pcm_delay.
  */
 snd_pcm_sframes_t snd_pcm_avail_update(snd_pcm_t *pcm)
 {



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to