Update of /cvsroot/alsa/alsa-lib/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28759/include

Modified Files:
        pcm.h 
Log Message:
Initial implementation of PCM simple API extension.


Index: pcm.h
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/include/pcm.h,v
retrieving revision 1.183
retrieving revision 1.184
diff -u -r1.183 -r1.184
--- pcm.h       14 Mar 2004 18:37:55 -0000      1.183
+++ pcm.h       26 Mar 2004 16:08:01 -0000      1.184
@@ -1241,6 +1241,14 @@
        SND_SPCM_XRUN_STOP
 } snd_spcm_xrun_type_t;
 
+/** Simple PCM duplex type */
+typedef enum _snd_spcm_duplex_type {
+       /** liberal duplex - the buffer and period sizes might not match */
+       SND_SPCM_DUPLEX_LIBERAL = 0,
+       /** pedantic duplex - the buffer and period sizes MUST match */
+       SND_SPCM_DUPLEX_PEDANTIC
+} snd_spcm_duplex_type_t;
+
 int snd_spcm_init(snd_pcm_t *pcm,
                  unsigned int rate,
                  unsigned int channels,
@@ -1258,7 +1266,13 @@
                         snd_pcm_subformat_t subformat,
                         snd_spcm_latency_t latency,
                         snd_pcm_access_t access,
-                        snd_spcm_xrun_type_t xrun_type);
+                        snd_spcm_xrun_type_t xrun_type,
+                        snd_spcm_duplex_type_t duplex_type);
+
+int snd_spcm_init_get_params(snd_pcm_t *pcm,
+                            unsigned int *rate,
+                            snd_pcm_uframes_t *buffer_size,
+                            snd_pcm_uframes_t *period_size);
 
 /** \} */
 



-------------------------------------------------------
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