From c58ce0879c1cabfd31dd8657d2594d78f13b1360 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 17 May 2007 19:19:08 +0000 Subject: add handling of watermarks git-svn-id: file:///home/lennart/svn/public/libsydney/trunk@25 9ba3c220-e4d3-45a2-8aa3-73fcc9aff6ce --- sydney.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sydney.h') diff --git a/sydney.h b/sydney.h index 6daf88a..30afc03 100644 --- a/sydney.h +++ b/sydney.h @@ -229,8 +229,8 @@ typedef enum { #define SA_META_ICON_NAME "sydney.icon-name" /* file name (no slashes) */ #define SA_META_ICON_PNG "sydney.icon-png" /* PNG blob */ #define SA_META_ROLE "sydney.role" /* one of: "music", "phone", "game", "event" */ -#define SA_META_X11_XID "sydney.x11-xid" /* X11 window id */ #define SA_META_X11_DISPLAY "sydney.x11-display" /* X11 display */ +#define SA_META_X11_WINDOW "sydney.x11-window" /* X11 window id */ /** Main callback function */ typedef int (*sa_event_callback_t)(sa_stream_t *s, sa_event_t event); @@ -293,6 +293,7 @@ int sa_stream_change_user_data(sa_stream_t *s, void *value); int sa_stream_set_adjust_rate(sa_stream_t *s, sa_adjust_t direction); int sa_stream_set_adjust_nchannels(sa_stream_t *s, sa_adjust_t direction); int sa_stream_set_adjust_pcm_format(sa_stream_t *s, sa_adjust_t direction); +int sa_stream_set_adjust_watermarks(sa_stream_t *s, sa_adjust_t direction); /* Query functions */ @@ -318,6 +319,7 @@ int sa_stream_get_meta_data(sa_stream_t *s, const char *name, const void **data, int sa_stream_get_adjust_rate(sa_stream_t *s, sa_adjust_t *direction); int sa_stream_get_adjust_nchannels(sa_stream_t *s, sa_adjust_t *direction); int sa_stream_get_adjust_pcm_format(sa_stream_t *s, sa_adjust_t *direction); +int sa_stream_get_adjust_watermarks(sa_stream_t *s, sa_adjust_t *direction); /** Get current state of the audio device */ int sa_stream_get_state(sa_stream_t *s, sa_state_t *state); -- cgit