The QAudio namespace contains enums used by the audio classes.
Constant | Description |
---|---|
QAudio.AudioOutput | audio output device |
QAudio.AudioInput | audio input device |
Constant | Description |
---|---|
QAudio.NoError | No errors have occurred |
QAudio.OpenError | An error opening the audio device |
QAudio.IOError | An error occurred during read/write of audio device |
QAudio.UnderrunError | Audio data is not being fed to the audio device at a fast enough rate |
QAudio.FatalError | A non-recoverable error has occurred, the audio device is not usable at this time. |
Constant | Description |
---|---|
QAudio.ActiveState | Audio data is being processed, this state is set after start() is called and while audio data is available to be processed. |
QAudio.SuspendedState | The audio device is in a suspended state, this state will only be entered after suspend() is called. |
QAudio.StoppedState | The audio device is closed, not processing any audio data |
QAudio.IdleState | The PySide.QtCore.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. |