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

Modified Files:
        timer.h 
Log Message:
Added early event extension to the timer API - and a fix for the direct plugins

Index: timer.h
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/include/timer.h,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- timer.h     4 Mar 2003 20:01:07 -0000       1.34
+++ timer.h     6 Apr 2004 17:29:25 -0000       1.35
@@ -84,6 +84,7 @@
        SND_TIMER_EVENT_STOP,           /* val = 0 */
        SND_TIMER_EVENT_CONTINUE,       /* val = resolution in ns */
        SND_TIMER_EVENT_PAUSE,          /* val = 0 */
+       SND_TIMER_EVENT_EARLY,          /* val = 0 */
        /* master timer events for slave timer instances */
        SND_TIMER_EVENT_MSTART = SND_TIMER_EVENT_START + 10,
        SND_TIMER_EVENT_MSTOP = SND_TIMER_EVENT_STOP + 10,
@@ -190,10 +191,12 @@
 void snd_timer_params_free(snd_timer_params_t *obj);
 void snd_timer_params_copy(snd_timer_params_t *dst, const snd_timer_params_t *src);
 
-void snd_timer_params_set_auto_start(snd_timer_params_t * params, int auto_start);
+int snd_timer_params_set_auto_start(snd_timer_params_t * params, int auto_start);
 int snd_timer_params_get_auto_start(snd_timer_params_t * params);
-void snd_timer_params_set_exclusive(snd_timer_params_t * params, int exclusive);
+int snd_timer_params_set_exclusive(snd_timer_params_t * params, int exclusive);
 int snd_timer_params_get_exclusive(snd_timer_params_t * params);
+int snd_timer_params_set_early_event(snd_timer_params_t * params, int early_event);
+int snd_timer_params_get_early_event(snd_timer_params_t * params);
 void snd_timer_params_set_ticks(snd_timer_params_t * params, long ticks);
 long snd_timer_params_get_ticks(snd_timer_params_t * params);
 void snd_timer_params_set_queue_size(snd_timer_params_t * params, long queue_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