Phonon.BackendCapabilities

Detailed Description

The BackendCapabilities namespace contains functions to describe the capabilities of the multimedia backend.
static PySide.phonon.Phonon.BackendCapabilities.availableAudioCaptureDevices()
Return type:
static PySide.phonon.Phonon.BackendCapabilities.availableAudioEffects()
Return type:

Returns descriptions for the audio effects the backend supports.

Returns A list of AudioEffectDescription objects that give a name and description for every supported audio effect.

static PySide.phonon.Phonon.BackendCapabilities.availableAudioOutputDevices()
Return type:

Returns the audio output devices the backend supports.

Returns A list of AudioOutputDevice objects that give a name and description for every supported audio output device.

static PySide.phonon.Phonon.BackendCapabilities.availableMimeTypes()
Return type:list of strings

Returns a list of mime types that the Backend can decode.

See also

PySide.phonon.Phonon::BackendCapabilities.isMimeTypeAvailable()

static PySide.phonon.Phonon.BackendCapabilities.isMimeTypeAvailable(mimeType)
Parameters:mimeType – unicode
Return type:PySide.QtCore.bool

Often all you want to know is whether one given MIME type can be decoded by the backend. Use this method in favor of PySide.phonon.Phonon::BackendCapabilities.availableMimeTypes() as it can give you a negative answer without having a backend loaded.

Returns true if the given mimeType is supported by the backend; otherwise, returns false.

See also

PySide.phonon.Phonon::BackendCapabilities.availableMimeTypes()

static PySide.phonon.Phonon.BackendCapabilities.notifier()
Return type:PySide.phonon.Notifier

Use this function to get a PySide.QtCore.QObject pointer to connect to the capabilitiesChanged signal.

Returns a pointer to a PySide.QtCore.QObject .

The capabilitiesChanged signal is emitted if the capabilities have changed. This can happen if the user has requested a backend change.

To connect to this signal do the following:

<Code snippet "doc/src/snippets/code/doc_src_phonon-api.cpp:16" not found>

See also

Notifier.capabilitiesChanged()