GstPlay.PlayAudioInfo

g GObject.Object GObject.Object GstPlay.PlayStreamInfo GstPlay.PlayStreamInfo GObject.Object->GstPlay.PlayStreamInfo GstPlay.PlayAudioInfo GstPlay.PlayAudioInfo GstPlay.PlayStreamInfo->GstPlay.PlayAudioInfo

Subclasses:

None

Methods

Inherited:

GstPlay.PlayStreamInfo (5), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_bitrate ()

get_channels ()

get_language ()

get_max_bitrate ()

get_sample_rate ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class GstPlay.PlayAudioInfo(**kwargs)
Bases:

GstPlay.PlayStreamInfo

Abstract:

No

Structure:

GstPlay.PlayAudioInfoClass

GstPlay.PlayStreamInfo specific to audio streams.

New in version 1.20.

get_bitrate()
Returns:

the audio bitrate in GstPlay.PlayAudioInfo or -1 if unknown.

Return type:

int

New in version 1.20.

get_channels()
Returns:

the number of audio channels in GstPlay.PlayAudioInfo or 0 if unknown.

Return type:

int

New in version 1.20.

get_language()
Returns:

the language of the stream, or None if unknown.

Return type:

str or None

New in version 1.20.

get_max_bitrate()
Returns:

the audio maximum bitrate in GstPlay.PlayAudioInfo or -1 if unknown.

Return type:

int

New in version 1.20.

get_sample_rate()
Returns:

the audio sample rate in GstPlay.PlayAudioInfo or 0 if unknown.

Return type:

int

New in version 1.20.