Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qaudio.h File Reference
#include <QtMultimedia/qtmultimediaglobal.h>
#include <QtCore/qmetatype.h>
+ Include dependency graph for qaudio.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Enumerations

enum  QAudio::Error {
  QAudio::NoError , QAudio::OpenError , QAudio::IOError , QAudio::UnderrunError ,
  QAudio::FatalError
}
 \value NoError No errors have occurred \value OpenError An error occurred opening the audio device \value IOError An error occurred during read/write of audio device \value UnderrunError Audio data is not being fed to the audio device at a fast enough rate \value FatalError A non-recoverable error has occurred, the audio device is not usable at this time. More...
 
enum  QAudio::State { QAudio::ActiveState , QAudio::SuspendedState , QAudio::StoppedState , QAudio::IdleState }
 \value ActiveState Audio data is being processed, this state is set after start() is called and while audio data is available to be processed. More...
 
enum  QAudio::VolumeScale { QAudio::LinearVolumeScale , QAudio::CubicVolumeScale , QAudio::LogarithmicVolumeScale , QAudio::DecibelVolumeScale }
 This enum defines the different audio volume scales. More...
 

Functions

float QAudio::convertVolume (float volume, VolumeScale from, VolumeScale to)
 Converts an audio volume from a volume scale to another, and returns the result.
 
Q_MULTIMEDIA_EXPORT QDebug operator<< (QDebug dbg, QAudio::Error error)
 
Q_MULTIMEDIA_EXPORT QDebug operator<< (QDebug dbg, QAudio::State state)
 
Q_MULTIMEDIA_EXPORT QDebug operator<< (QDebug dbg, QAudio::VolumeScale role)
 

Function Documentation

◆ operator<<() [1/3]

Q_MULTIMEDIA_EXPORT QDebug operator<< ( QDebug  dbg,
QAudio::Error  error 
)

◆ operator<<() [2/3]

Q_MULTIMEDIA_EXPORT QDebug operator<< ( QDebug  dbg,
QAudio::State  state 
)

◆ operator<<() [3/3]

Q_MULTIMEDIA_EXPORT QDebug operator<< ( QDebug  dbg,
QAudio::VolumeScale  role 
)