summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/source.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-03-25 00:26:44 +0100
committerLennart Poettering <lennart@poettering.net>2009-03-25 00:26:44 +0100
commit9bca59efc1500770008345ff12571892eeaa5b50 (patch)
treef614dae6b52dd8f7b1fd1879e54b1ce1f1723044 /src/pulsecore/source.h
parent9151107cb9a1fe0620d3ddb53ac6982a75e1d010 (diff)
make pa_source_set_max_rewind() work similar to pa_sink_set_max_rewind()
Diffstat (limited to 'src/pulsecore/source.h')
-rw-r--r--src/pulsecore/source.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pulsecore/source.h b/src/pulsecore/source.h
index 862e1aa9..210f5340 100644
--- a/src/pulsecore/source.h
+++ b/src/pulsecore/source.h
@@ -159,6 +159,7 @@ typedef enum pa_source_message {
PA_SOURCE_MESSAGE_SET_LATENCY_RANGE,
PA_SOURCE_MESSAGE_GET_LATENCY_RANGE,
PA_SOURCE_MESSAGE_GET_MAX_REWIND,
+ PA_SOURCE_MESSAGE_SET_MAX_REWIND,
PA_SOURCE_MESSAGE_MAX
} pa_source_message_t;
@@ -205,6 +206,7 @@ void pa_source_set_description(pa_source *s, const char *description);
void pa_source_set_asyncmsgq(pa_source *s, pa_asyncmsgq *q);
void pa_source_set_rtpoll(pa_source *s, pa_rtpoll *p);
+void pa_source_set_max_rewind(pa_source *s, size_t max_rewind);
void pa_source_set_latency_range(pa_source *s, pa_usec_t min_latency, pa_usec_t max_latency);
void pa_source_detach(pa_source *s);
@@ -259,7 +261,7 @@ void pa_source_detach_within_thread(pa_source *s);
pa_usec_t pa_source_get_requested_latency_within_thread(pa_source *s);
-void pa_source_set_max_rewind(pa_source *s, size_t max_rewind);
+void pa_source_set_max_rewind_within_thread(pa_source *s, size_t max_rewind);
void pa_source_set_latency_range_within_thread(pa_source *s, pa_usec_t min_latency, pa_usec_t max_latency);
/*** To be called exclusively by source output drivers, from IO context */