Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qaudio.h File Reference

(aba575eb6f76d9281cc268bcbdd28fbb44b33866)

#include <QtMultimedia/qtmultimediaglobal.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
namespace  QtAudio
 The QtAudio namespace contains enums used by the audio classes.

Typedefs

using QtAudio::Error = QAudio::Error
using QtAudio::State = QAudio::State
using QtAudio::VolumeScale = QAudio::VolumeScale

Enumerations

enum  QAudio::Error {
  QAudio::NoError , QAudio::OpenError , QAudio::IOError , QAudio::UnderrunError ,
  QAudio::FatalError
}
enum  QAudio::State { QAudio::ActiveState , QAudio::SuspendedState , QAudio::StoppedState , QAudio::IdleState }
enum  QAudio::VolumeScale { QAudio::LinearVolumeScale , QAudio::CubicVolumeScale , QAudio::LogarithmicVolumeScale , QAudio::DecibelVolumeScale }

Functions

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

Variables

constexpr auto QtAudio::NoError = QAudio::NoError
constexpr auto QtAudio::OpenError = QAudio::OpenError
constexpr auto QtAudio::IOError = QAudio::IOError
constexpr auto QtAudio::UnderrunError = QAudio::UnderrunError
constexpr auto QtAudio::FatalError = QAudio::FatalError
constexpr auto QtAudio::ActiveState = QAudio::ActiveState
constexpr auto QtAudio::SuspendedState = QAudio::SuspendedState
constexpr auto QtAudio::StoppedState = QAudio::StoppedState
constexpr auto QtAudio::IdleState = QAudio::IdleState
constexpr auto QtAudio::LinearVolumeScale = QAudio::LinearVolumeScale
constexpr auto QtAudio::CubicVolumeScale = QAudio::CubicVolumeScale
constexpr auto QtAudio::LogarithmicVolumeScale = QAudio::LogarithmicVolumeScale
constexpr auto QtAudio::DecibelVolumeScale = QAudio::DecibelVolumeScale

Function Documentation

◆ operator<<() [1/3]

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

Definition at line 178 of file qtaudio.cpp.

◆ operator<<() [2/3]

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

Definition at line 202 of file qtaudio.cpp.

◆ operator<<() [3/3]

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

Definition at line 223 of file qtaudio.cpp.