QAudio NamespaceThe QAudio namespace contains enums used by the audio classes. More... #include <QAudio> This namespace was introduced in Qt 4.6. Types
Detailed DescriptionThe QAudio namespace contains enums used by the audio classes. Type Documentation
|
Constant | Value | Description |
---|---|---|
QAudio::NoError | 0 | No errors have occurred |
QAudio::OpenError | 1 | An error opening the audio device |
QAudio::IOError | 2 | An error occurred during read/write of audio device |
QAudio::UnderrunError | 3 | Audio data is not being fed to the audio device at a fast enough rate |
QAudio::FatalError | 4 | A non-recoverable error has occurred, the audio device is not usable at this time. |
Constant | Value | Description |
---|---|---|
QAudio::AudioOutput | 1 | audio output device |
QAudio::AudioInput | 0 | audio input device |
Constant | Value | Description |
---|---|---|
QAudio::ActiveState | 0 | Audio data is being processed, this state is set after start() is called and while audio data is available to be processed. |
QAudio::SuspendedState | 1 | The audio device is in a suspended state, this state will only be entered after suspend() is called. |
QAudio::StoppedState | 2 | The audio device is closed, not processing any audio data |
QAudio::IdleState | 3 | The QIODevice passed in has no data and audio system's buffer is empty, this state is set after start() is called and while no audio data is available to be processed. |
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.