summaryrefslogtreecommitdiffstats
path: root/src/sydney.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-10-09 20:45:03 +0200
committerLennart Poettering <lennart@poettering.net>2008-10-09 20:45:03 +0200
commit3aea95d518b502e60d26f3f8100af2c20a9004ba (patch)
tree567e8c51de97f6d621ce378862c2e7f3fd9d4b9f /src/sydney.h
parent181e9c6d5d11cb1e5d36a2777eeb233ad8ed00e5 (diff)
Split latency paramters into "overall" and "immutable" latencyHEADmaster
Diffstat (limited to 'src/sydney.h')
-rw-r--r--src/sydney.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/sydney.h b/src/sydney.h
index cdc006c..c718299 100644
--- a/src/sydney.h
+++ b/src/sydney.h
@@ -544,8 +544,8 @@ int sa_stream_open(sa_stream *s);
int sa_stream_destroy(sa_stream *s);
/* Buffer params */
-int sa_stream_change_write_latency(sa_stream *s, size_t latency_nbytes, size_t process_time_nbytes);
-int sa_stream_change_read_latency(sa_stream *s, size_t latency_nbytes, size_t process_time_nbytes);
+int sa_stream_change_write_latency(sa_stream *s, size_t overall_latency_nbytes, size_t immutable_latency_nbytes, size_t process_time_nbytes);
+int sa_stream_change_read_latency(sa_stream *s, size_t overall_latency_nbytes, size_t process_time_nbytes);
/** Set the mapping between channels and the loudspeakers */
int sa_stream_set_channel_map(sa_stream *s, const sa_channel_t map[], unsigned n);
@@ -595,9 +595,10 @@ int sa_stream_get_pcm_format(sa_stream *s, sa_pcm_format_t *format);
int sa_stream_get_pcm_rate(sa_stream *s, unsigned *rate);
int sa_stream_get_pcm_nchannels(sa_stream *s, unsigned *nchannels);
int sa_stream_get_user_data(sa_stream *s, void **value);
-int sa_stream_get_write_latency(sa_stream *s, size_t *nbytes);
+int sa_stream_get_write_overall_latency(sa_stream *s, size_t *nbytes);
+int sa_stream_get_write_immutable_latency(sa_stream *s, size_t *nbytes);
int sa_stream_get_write_process_time(sa_stream *s, size_t *nbytes);
-int sa_stream_get_read_latency(sa_stream *s, size_t *nbytes);
+int sa_stream_get_read_overall_latency(sa_stream *s, size_t *nbytes);
int sa_stream_get_read_process_time(sa_stream *s, size_t *nbytes);
int sa_stream_get_pcm_channel_map(sa_stream *s, sa_channel_t **map, unsigned *n);
int sa_stream_get_xrun_mode(sa_stream *s, sa_xrun_mode_t *mode);