Qt 4.8
Classes | Enumerations | Variables
QAudio Namespace Reference

The QAudio namespace contains enums used by the audio classes. More...

Classes

class  RegisterMetaTypes
 

Enumerations

enum  Error {
  NoError, OpenError, IOError, UnderrunError,
  FatalError
}
 
enum  Mode { AudioInput, AudioOutput }
 
enum  State { ActiveState, SuspendedState, StoppedState, IdleState }
 

Variables

class QAudio::RegisterMetaTypes _register
 

Detailed Description

The QAudio namespace contains enums used by the audio classes.

Attention
Module: QtMultimedia
Since
4.6

Enumeration Type Documentation

◆ Error

  • NoError No errors have occurred
  • OpenError An error opening the audio device
  • IOError An error occurred during read/write of audio device
  • UnderrunError Audio data is not being fed to the audio device at a fast enough rate
  • FatalError A non-recoverable error has occurred, the audio device is not usable at this time.
Enumerator
NoError 
OpenError 
IOError 
UnderrunError 
FatalError 

Definition at line 58 of file qaudio.h.

◆ Mode

  • AudioOutput audio output device
  • AudioInput audio input device
Enumerator
AudioInput 
AudioOutput 

Definition at line 60 of file qaudio.h.

◆ State

  • ActiveState Audio data is being processed, this state is set after start() is called and while audio data is available to be processed.
  • SuspendedState The audio device is in a suspended state, this state will only be entered after suspend() is called.
  • StoppedState The audio device is closed, not processing any audio data
  • IdleState 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.
Enumerator
ActiveState 
SuspendedState 
StoppedState 
IdleState 

Definition at line 59 of file qaudio.h.

Variable Documentation

◆ _register

class QAudio::RegisterMetaTypes QAudio::_register