From cdfcf6654cb826682812e9d1096dcfbac77900eb Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 3 Apr 2008 13:40:55 +0000 Subject: - deprecate autoload stuff - allow setting of the requested latency of a sink input/source output before _put() is called - allow sinks/sources to have a "minimal" latency which applies to all requested latencies by sink inputs/source outputs - add new client library flags PA_STREAM_ADJUST_LATENCY, PA_STREAM_START_MUTED - allow client library to fill in 0 to buffer_attr fields - update module-alsa-source following module-alsa-sink - other cleanups and fixes git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2215 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/pulsecore/source.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/pulsecore/source.h') diff --git a/src/pulsecore/source.h b/src/pulsecore/source.h index c880d3c5..3ec8320d 100644 --- a/src/pulsecore/source.h +++ b/src/pulsecore/source.h @@ -91,6 +91,8 @@ struct pa_source { pa_asyncmsgq *asyncmsgq; pa_rtpoll *rtpoll; + pa_usec_t min_latency; /* we won't go below this latency setting */ + int (*set_state)(pa_source*source, pa_source_state_t state); /* may be NULL */ int (*set_volume)(pa_source *s); /* dito */ int (*get_volume)(pa_source *s); /* dito */ -- cgit