Cvc.MixerStream¶
- Subclasses:
Cvc.MixerEventRole
,Cvc.MixerSink
,Cvc.MixerSinkInput
,Cvc.MixerSource
,Cvc.MixerSourceOutput
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c |
Application identifier for this stream |
||
r/w/c |
Whether stream volume can be converted to decibel units |
||
r/w/c |
The index of the card for this stream |
||
r/w/c |
The channel map for this stream |
||
r/w/c |
The decibel level for this stream |
||
r/w/c |
Description to display for this stream |
||
r/w/c |
Device form factor for this stream, as reported by PulseAudio |
||
r/w/c |
Name of icon to display for this stream |
||
r/w/co |
The id for this stream |
||
r/w/co |
The index for this stream |
||
r/w/c |
Whether stream’s role is to play an event |
||
r/w/c |
Whether stream is muted |
||
r/w/c |
Whether the stream is virtual |
||
r/w/c |
Name to display for this stream |
||
r/w/co |
The PulseAudio context for this stream |
||
r/w |
The name of the current port for this stream |
||
r/w |
The current state of this stream |
||
r/w/c |
Sysfs path for the device associated with this stream |
||
r/w |
The volume for this stream |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Cvc.MixerStream(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
- create_monitor()¶
- get_channel_map()¶
- Return type:
- get_port()¶
- Return type:
- get_ports()¶
- Return type:
- get_state()¶
- Return type:
- remove_monitor()¶
- set_ports(ports)¶
- Parameters:
ports ([
Cvc.MixerStreamPort
]) –- Return type:
- set_state(state)¶
- Parameters:
state (
Cvc.MixerStreamState
) –- Return type:
- do_monitor_suspend() virtual¶
Signal Details¶
- Cvc.MixerStream.signals.monitor_suspend(mixer_stream)¶
- Signal Name:
monitor-suspend
- Flags:
- Parameters:
mixer_stream (
Cvc.MixerStream
) – The object which received the signal
- Cvc.MixerStream.signals.monitor_update(mixer_stream, object)¶
- Signal Name:
monitor-update
- Flags:
- Parameters:
mixer_stream (
Cvc.MixerStream
) – The object which received the signalobject (
float
) –
Property Details¶
- Cvc.MixerStream.props.application_id¶
-
Application identifier for this stream
- Cvc.MixerStream.props.can_decibel¶
-
Whether stream volume can be converted to decibel units
- Cvc.MixerStream.props.card_index¶
-
The index of the card for this stream
- Cvc.MixerStream.props.channel_map¶
- Name:
channel-map
- Type:
- Default Value:
- Flags:
The channel map for this stream
- Cvc.MixerStream.props.decibel¶
-
The decibel level for this stream
- Cvc.MixerStream.props.description¶
-
Description to display for this stream
- Cvc.MixerStream.props.form_factor¶
-
Device form factor for this stream, as reported by PulseAudio
- Cvc.MixerStream.props.icon_name¶
-
Name of icon to display for this stream
- Cvc.MixerStream.props.id¶
- Name:
id
- Type:
- Default Value:
0
- Flags:
The id for this stream
- Cvc.MixerStream.props.index¶
- Name:
index
- Type:
- Default Value:
0
- Flags:
The index for this stream
- Cvc.MixerStream.props.is_event_stream¶
-
Whether stream’s role is to play an event
- Cvc.MixerStream.props.is_muted¶
-
Whether stream is muted
- Cvc.MixerStream.props.is_virtual¶
-
Whether the stream is virtual
- Cvc.MixerStream.props.name¶
-
Name to display for this stream
- Cvc.MixerStream.props.pa_context¶
- Name:
pa-context
- Type:
- Default Value:
- Flags:
The PulseAudio context for this stream
- Cvc.MixerStream.props.port¶
-
The name of the current port for this stream
- Cvc.MixerStream.props.state¶
- Name:
state
- Type:
- Default Value:
- Flags:
The current state of this stream
- Cvc.MixerStream.props.sysfs_path¶
-
Sysfs path for the device associated with this stream