Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QAudioElement Class Reference
[QtBluetoothModule, QtMediaModule, QtPimModule, QtTelephonyModule]

The QAudioElement class manages an element of the audio mixer. More...

    #include <QAudioElement>

Inherits QObject.

Public Functions

Additional Inherited Members


Detailed Description

The QAudioElement class manages an element of the audio mixer.

This class provides functions to get and set the audio mixer value of the element.

See also QAudioMixer.


Member Function Documentation

QAudioElement::QAudioElement ()

Construct a new QAudioElement object

QAudioElement::~QAudioElement ()

Destroy this audio mixer element.

qint32 QAudioElement::getIndex () const

Return the index number of the element.

qint32 QAudioElement::getMaximum () const

Returns the maximum value that the control can be set too.

qint32 QAudioElement::getMinimum () const

Returns the minimum value that the control can be set too.

QString QAudioElement::getName () const

Return a QString pointer to the name of the element.

QString QAudioElement::getOption () const

Returns the currently set option for an enum type mixer element.

qint32 QAudioElement::getValue () const

Returns the value that the control element is currently set as.

bool QAudioElement::isMono () const

Returns true if mixer element is only a single channel, not stereo.

bool QAudioElement::isMuted () const

Returns true if mixer element is muted.

bool QAudioElement::isOption () const

Returns true if element is an enum control.

bool QAudioElement::isPlayback () const

Returns true if element is a playback control.

bool QAudioElement::isRecord () const

Returns true if element is a capture control.

void QAudioElement::setMute ( bool val )

Sets the audio mixer element mute state to val.

void QAudioElement::setOption ( QString opt )

Sets the mixer elements enum to value opt.

See also isOption().

void QAudioElement::setValue ( qint32 val )

Sets the value of the control element to val.


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3