Update of /cvsroot/alsa/alsa-lib/include
In directory sc8-pr-cvs1:/tmp/cvs-serv15126a/include
Modified Files:
global.h pcm.h rawmidi.h timer.h
Log Message:
Timestamp update (struct timeval -> struct timespec).
Index: global.h
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/include/global.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- global.h 23 Jul 2002 19:51:16 -0000 1.17
+++ global.h 28 Feb 2003 17:23:28 -0000 1.18
@@ -114,6 +114,11 @@
int snd_async_handler_get_signo(snd_async_handler_t *handler);
void *snd_async_handler_get_callback_private(snd_async_handler_t *handler);
+/** Timestamp */
+typedef struct timeval snd_timestamp_t;
+/** Hi-res timestamp */
+typedef struct timespec snd_htimestamp_t;
+
/** \} */
#ifdef __cplusplus
Index: pcm.h
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/include/pcm.h,v
retrieving revision 1.175
retrieving revision 1.176
diff -u -r1.175 -r1.176
--- pcm.h 22 Feb 2003 17:53:01 -0000 1.175
+++ pcm.h 28 Feb 2003 17:23:28 -0000 1.176
@@ -288,8 +288,6 @@
typedef unsigned long snd_pcm_uframes_t;
/** Signed frames quantity */
typedef long snd_pcm_sframes_t;
-/** Timestamp */
-typedef struct timeval snd_timestamp_t;
/** Non blocking mode (flag for open mode) \hideinitializer */
#define SND_PCM_NONBLOCK 0x0001
Index: rawmidi.h
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/include/rawmidi.h,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- rawmidi.h 11 Feb 2002 18:11:16 -0000 1.42
+++ rawmidi.h 28 Feb 2003 17:23:29 -0000 1.43
@@ -135,7 +135,7 @@
int snd_rawmidi_status_malloc(snd_rawmidi_status_t **ptr);
void snd_rawmidi_status_free(snd_rawmidi_status_t *obj);
void snd_rawmidi_status_copy(snd_rawmidi_status_t *dst, const snd_rawmidi_status_t
*src);
-void snd_rawmidi_status_get_tstamp(const snd_rawmidi_status_t *obj, snd_timestamp_t
*ptr);
+void snd_rawmidi_status_get_tstamp(const snd_rawmidi_status_t *obj, snd_htimestamp_t
*ptr);
size_t snd_rawmidi_status_get_avail(const snd_rawmidi_status_t *obj);
size_t snd_rawmidi_status_get_xruns(const snd_rawmidi_status_t *obj);
int snd_rawmidi_status(snd_rawmidi_t *rmidi, snd_rawmidi_status_t * status);
Index: timer.h
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/include/timer.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- timer.h 12 Mar 2002 20:14:33 -0000 1.32
+++ timer.h 28 Feb 2003 17:23:29 -0000 1.33
@@ -171,7 +171,7 @@
void snd_timer_status_free(snd_timer_status_t *obj);
void snd_timer_status_copy(snd_timer_status_t *dst, const snd_timer_status_t *src);
-struct timeval snd_timer_status_get_timestamp(snd_timer_status_t * status);
+snd_htimestamp_t snd_timer_status_get_timestamp(snd_timer_status_t * status);
long snd_timer_status_get_resolution(snd_timer_status_t * status);
long snd_timer_status_get_lost(snd_timer_status_t * status);
long snd_timer_status_get_overrun(snd_timer_status_t * status);
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog