Phonon::BackendCapabilities Namespace Reference

Phonon::BackendCapabilities Namespace Reference

Namespace description

Collection of functions describing the capabilities of the Backend.

Author
Matthias Kretz kretz.nosp@m.@kde.nosp@m..org

Classes

class  Notifier
 Notifications about backend capabilities. More...
 

Functions

PHONON_EXPORT Notifier * notifier ()
 Use this function to get a QObject pointer to connect to one of the Notifier signals. More...
 
PHONON_EXPORT QStringList availableMimeTypes ()
 Returns a list of mime types that the Backend can decode. More...
 
PHONON_EXPORT bool isMimeTypeAvailable (const QString &mimeType)
 Often all you want to know is whether one given MIME type can be decoded by the backend. More...
 
PHONON_EXPORT QList< AudioOutputDevice > availableAudioOutputDevices ()
 Returns the audio output devices the backend supports. More...
 
PHONON_EXPORT QList< AudioCaptureDevice > availableAudioCaptureDevices ()
 Returns the audio capture devices the backend supports. More...
 
PHONON_EXPORT QList< EffectDescription > availableAudioEffects ()
 Returns the video output devices the backend supports. More...
 

Function Documentation

PHONON_EXPORT Notifier* Phonon::BackendCapabilities::notifier ( )

Use this function to get a QObject pointer to connect to one of the Notifier signals.

Returns
a pointer to a QObject.

To connect to the signal do the following:

See also
Notifier::capabilitiesChanged()
Notifier::availableAudioOutputDevicesChanged()
Notifier::availableAudioCaptureDevicesChanged()
PHONON_EXPORT QStringList Phonon::BackendCapabilities::availableMimeTypes ( )

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

See also
isMimeTypeAvailable()
PHONON_EXPORT bool Phonon::BackendCapabilities::isMimeTypeAvailable ( const QString &  mimeType)

Often all you want to know is whether one given MIME type can be decoded by the backend.

Use this method in favor of availableMimeTypes() as it can give you a negative answer without having a backend loaded.

See also
availableMimeTypes();
PHONON_EXPORT QList<AudioOutputDevice> Phonon::BackendCapabilities::availableAudioOutputDevices ( )

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.
PHONON_EXPORT QList<AudioCaptureDevice> Phonon::BackendCapabilities::availableAudioCaptureDevices ( )

Returns the audio capture devices the backend supports.

Returns
A list of AudioCaptureDevice objects that give a name and description for every supported audio capture device.
PHONON_EXPORT QList<EffectDescription> Phonon::BackendCapabilities::availableAudioEffects ( )

Returns the video output devices the backend supports.

Returns
A list of VideoOutputDevice objects that give a name and description for every supported video output device. Returns the video capture devices the backend supports.
A list of VideoCaptureDevice objects that give a name and description for every supported video capture device. Returns the visualization effects the backend supports.
A list of VisualizationEffect objects that give a name and description for every supported visualization effect. Returns descriptions for the audio effects the backend supports.
A list of AudioEffectDescription objects that give a name and description for every supported audio effect.