👎Deprecated since 2.20.0: Use the associated constants on SourceFlagSet.
Expand description

Special source flags.

Constants

  • DECIBEL_VOLUMEDeprecated
    Volume can be translated to dB with the From based conversions between Volume, VolumeLinear and VolumeDB types. This is a dynamic flag and may change at runtime after the source has initialized.
  • DYNAMIC_LATENCYDeprecated
    The latency can be adjusted dynamically depending on the needs of the connected streams.
  • FLAT_VOLUMEDeprecated
    This source is in flat volume mode, i.e. always the maximum of the volume of all connected outputs.
  • HARDWAREDeprecated
    Is a hardware source of some kind, in contrast to “virtual”/software source.
  • HW_MUTE_CTRLDeprecated
    Supports hardware mute control. This is a dynamic flag and may change at runtime after the source has initialized.
  • HW_VOLUME_CTRLDeprecated
    Supports hardware volume control. This is a dynamic flag and may change at runtime after the source has initialized.
  • LATENCYDeprecated
    Supports latency querying.
  • NETWORKDeprecated
    Is a networked source of some kind.
  • NOFLAGSDeprecated
    Flag to pass when no specific options are needed.