![]() |
Home · All Classes · All Functions · | ![]() |
The QAudioEncoderControl class provides access to the settings of a media service that performs audio encoding. More...
#include <QAudioEncoderControl>
This class is under development and is subject to change.
Inherits QMediaControl.
The QAudioEncoderControl class provides access to the settings of a media service that performs audio encoding.
If a QMediaService supports encoding audio data it will implement QAudioEncoderControl. This control provides information about the limits of restricted audio encoder options and allows the selection of a set of audio encoder settings as specified in a QAudioEncoderSettings object.
The functionality provided by this control is exposed to application code through the QMediaRecorder class.
The interface name of QAudioEncoderControl is com.nokia.Qt.QAudioEncoderControl/1.0 as defined in QAudioEncoderControl_iid.
See also QMediaService::requestControl() and QMediaRecorder.
Create a new audio encode control object with the given parent.
Destroys the audio encode control.
Returns the selected audio settings.
See also setAudioSettings().
Returns description of audio codec.
Returns the value of audio encoding option for codec.
See also setEncodingOption().
Sets the selected audio settings.
See also audioSettings().
Set the codec specific option to value.
See also encodingOption().
Returns the list of supported audio codec names.
Returns the list of codec specific audio encoding options.
Returns the list of supported audio sample rates, if known.
If non null audio settings parameter is passed, the returned list is reduced to sample rates supported with partial settings applied.
It can be used for example to query the list of sample rates, supported by specific audio codec.
If the encoder supports arbitrary sample rates within the supported rates range, *continuous is set to true, otherwise *continuous is set to false.
com.nokia.Qt.AudioEncoderControl/1.0
Defines the interface name of the QAudioEncoderControl class.
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.0.1 |