Lines Matching defs:source
32 #include <pulsecore/source.h>
77 pa_source *source; /* NULL while being moved */
79 /* This is set to true when creating the source output if the source was
80 * requested by the application that created the source output. This is
81 * sometimes useful for determining whether the source output should be
82 * moved by some automatic policy. If the source output is moved away from
83 * the source that the application requested, this flag is reset to
89 /* A source output can monitor just a single input of a sink, in which case we find it here */
98 pa_cvolume reference_ratio; /* The ratio of the stream's volume to the source's reference volume */
99 pa_cvolume real_ratio; /* The ratio of the stream's volume to the source's real volume */
103 pa_cvolume volume_factor_source; /* A second volume factor in format of the source this stream is connected to */
109 /* if true then the volume and the mute state of this source-output
113 /* if users move the source-output to a source, and the source is not
114 * default_source, the source->name will be saved in preferred_source. And
115 * later if source-output is moved to other sources for some reason, it
129 /* Called whenever the maximum rewindable size of the source
133 /* Called whenever the configured latency of the source
137 /* Called whenever the latency range of the source changes. Called
141 /* Called whenever the fixed latency of the source changes, if there
146 * connected to a source or when the rtpoll/asyncmsgq fields
148 * unless you rewrite a source that is piggy-backed onto
153 * disconnected from its source. Called from IO thread context */
156 /* If non-NULL called whenever the source this output is attached
161 /* If non-NULL called whenever the source this output is attached
165 /* If non-NULL called whenever the source output is moved to a new
166 * source. Called from main context after the source output has been
167 * detached from the old source and before it has been attached to
168 * the new source. If dest is NULL the move was executed in two
187 /* If non-NULL this function is called before this source output
188 * is moved to a source and if it returns false the move
196 /* If non-NULL this function is called whenever the source output
200 /* If non-NULL this function is called whenever the source output
216 /* We maintain a delay memblockq here for source outputs that
220 /* The requested latency for the source */
259 pa_source *source;
347 * first the detaching from the old source, then the attaching to the
348 * new source */
355 /* To be used exclusively by the source driver thread */
375 * a filter source's output is detached, it has to detach also all outputs
376 * connected to the filter source. In case the filter source's output was
377 * detached because the filter source is being removed, those other outputs
378 * will be moved to another source or removed, and moving and removing involve
382 * output's source. If the output's source is a detached filter source,
384 * in the root source's IO thread, and when the filter source is detached, it
386 * any more associated with the filter source. Currently sending messages to
392 /* Called from the main thread, from source.c only. The normal way to set the
393 * source output volume is to call pa_source_output_set_volume(), but the flat
394 * volume logic in source.c needs also a function that doesn't do all the extra
399 /* Called from the main thread, from source.c only. This shouldn't be a public
400 * function, but the flat volume logic in source.c currently needs a way to
401 * directly set the source output reference ratio. This function simply sets