Cvc.MixerCard

g Cvc.MixerCard Cvc.MixerCard GObject.Object GObject.Object GObject.Object->Cvc.MixerCard

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

change_profile (profile)

get_gicon ()

get_icon_name ()

get_id ()

get_index ()

get_name ()

get_ports ()

get_profiles ()

set_icon_name (name)

set_name (name)

set_ports (ports)

set_profile (profile)

set_profiles (profiles)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

human-profile

str

r

Name of current profile for this card in human readable form

icon-name

str

r/w/c

Name of icon to display for this card

id

int

r/w/co

The id for this card

index

int

r/w/co

The index for this card

name

str

r/w/c

Name to display for this card

pa-context

int

r/w/co

The PulseAudio context for this card

profile

str

r/w

Name of current profile for this card

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class Cvc.MixerCard(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Cvc.MixerCardClass

change_profile(profile)
Parameters:

profile (str or None) – the profile to change to or None.

Returns:

True if profile successfully changed or already using this profile.

Return type:

bool

Change the profile in use on this card.

get_gicon()
Return type:

Gio.Icon

get_icon_name()
Return type:

str

get_id()
Return type:

int

get_index()
Return type:

int

get_name()
Return type:

str

get_ports()
Return type:

[Cvc.MixerCardPort]

get_profiles()
Return type:

[Cvc.MixerCardProfile]

set_icon_name(name)
Parameters:

name (str) –

Return type:

bool

set_name(name)
Parameters:

name (str) –

Return type:

bool

set_ports(ports)
Parameters:

ports ([Cvc.MixerCardPort]) –

Return type:

bool

set_profile(profile)
Parameters:

profile (str) –

Return type:

bool

set_profiles(profiles)
Parameters:

profiles ([Cvc.MixerCardProfile]) –

Return type:

bool

Property Details

Cvc.MixerCard.props.human_profile
Name:

human-profile

Type:

str

Default Value:

None

Flags:

READABLE

Name of current profile for this card in human readable form

Cvc.MixerCard.props.icon_name
Name:

icon-name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT

Name of icon to display for this card

Cvc.MixerCard.props.id
Name:

id

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The id for this card

Cvc.MixerCard.props.index
Name:

index

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The index for this card

Cvc.MixerCard.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT

Name to display for this card

Cvc.MixerCard.props.pa_context
Name:

pa-context

Type:

int

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The PulseAudio context for this card

Cvc.MixerCard.props.profile
Name:

profile

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Name of current profile for this card