diff options
Diffstat (limited to 'sydney.h')
-rw-r--r-- | sydney.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |