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

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

The QAudioMixer class provides a way of accessing the audio systems mixer controls. More...

    #include <QAudioMixer>

Inherits QObject.

Public Functions

Signals

Additional Inherited Members


Detailed Description

The QAudioMixer class provides a way of accessing the audio systems mixer controls.

This class provides both set and get functionality.

A typical implementation follows:

    QAudioMixer    *mixer;

    mixer = new QAudioMixer();
    connect(mixer, SIGNAL(audioChanged()), this, SLOT(updateStatus()));
    QList<QAudioElement*> e = mixer->elements();
    current = e.at(0);
    updateStatus();

audioChanged() is emitted when changes to the mixer settings are made.

see signals audioChanged()

See also QAudioElement.


Member Function Documentation

QAudioMixer::QAudioMixer ()

Construct a new QAudioMixer object

QAudioMixer::~QAudioMixer ()

Destroy this audio mixer.

void QAudioMixer::audioChanged ()   [signal]

This signal is emitted when audio elements are changed.

QList<QAudioElement *> QAudioMixer::elements () const

Return a pointer to a QList of QAudioElement pointers


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3