Module libpulse_binding::stream::flags [−][src]
Some special flags for stream connections.
Constants
ADJUST_LATENCY |
Try to adjust the latency of the sink/source based on the requested buffer metrics and
adjust buffer metrics accordingly. Also see |
AUTO_TIMING_UPDATE |
If set timing update requests are issued periodically automatically. Combined with
|
DONT_INHIBIT_AUTO_SUSPEND |
If set this stream won't be taken into account when it is checked whether the device this stream is connected to should auto-suspend. |
DONT_MOVE |
Don't allow moving of this stream to another sink/device. Useful if you use any of the
|
EARLY_REQUESTS |
Enable compatibility mode for legacy clients that rely on a "classic" hardware device
fragment-style playback model. If this option is set, the |
FAIL_ON_SUSPEND |
If the sink/source this stream is connected to is suspended during the creation of this stream, cause it to fail. If the sink/source is being suspended during creation of this stream, make sure this stream is terminated. |
FIX_CHANNELS |
Use the number of channels and the channel map of the sink, and possibly ignore the number
of channels and the map the sample spec and the passed channel map contains. Usage similar
to |
FIX_FORMAT |
Use the sample format of the sink/device this stream is being connected to, and possibly
ignore the format the sample spec contains -- but you still have to pass a valid value in it
as a hint to PulseAudio what would suit your stream best. If this is used you should query
the used sample format after creating the stream by using |
FIX_RATE |
Use the sample rate of the sink, and possibly ignore the rate the sample spec contains.
Usage similar to |
INTERPOLATE_TIMING |
Interpolate the latency for this stream. When enabled, |
NOFLAGS |
Flag to pass when no specific options are needed. |
NOT_MONOTONIC |
Don't force the time to increase monotonically. If this option is enabled,
|
NO_REMAP_CHANNELS |
Don't remap channels by their name, instead map them simply by their index. Implies
|
NO_REMIX_CHANNELS |
When remapping channels by name, don't upmix or downmix them to related channels. Copy them into matching channels of the device 1:1. |
PASSTHROUGH |
Used to tag content that will be rendered by passthrough sinks. The data will be left as is and not reformatted, resampled. |
PEAK_DETECT |
Find peaks instead of resampling. |
RELATIVE_VOLUME |
If a volume is passed when this stream is created, consider it relative to the sink's current volume, never as absolute device volume. If this is not specified the volume will be consider absolute when the sink is in flat volume mode, relative otherwise. |
START_CORKED |
Create the stream corked, requiring an explicit |
START_MUTED |
Create in muted state. If neither |
START_UNMUTED |
Create in unmuted state. If neither |
VARIABLE_RATE |
Allow dynamic changing of the sampling rate during playback with
|