summaryrefslogtreecommitdiffstats
path: root/sydney.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-05-17 19:19:08 +0000
committerLennart Poettering <lennart@poettering.net>2007-05-17 19:19:08 +0000
commitc58ce0879c1cabfd31dd8657d2594d78f13b1360 (patch)
treeb9254d64d59da3037cec32a540583813c8d76b2e /sydney.h
parentacd9a2853021249bed55a8a47ef2a3d4d565b2c5 (diff)
add handling of watermarks
git-svn-id: file:///home/lennart/svn/public/libsydney/trunk@25 9ba3c220-e4d3-45a2-8aa3-73fcc9aff6ce
Diffstat (limited to 'sydney.h')
-rw-r--r--sydney.h4
1 files changed, 3 insertions, 1 deletions
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);