8#include <QtCore/qobject.h>
9#include <QtCore/qshareddata.h>
11#include <QtMultimedia/qtmultimediaglobal.h>
15class QAudioFormatPrivate;
18template <
typename... Args>
20 return (0 | ... | (1u <<
values));
79 template <
typename... Args>
87 return m_sampleRate > 0 && m_channelCount > 0 && m_sampleFormat !=
Unknown;
91 constexpr int sampleRate() const noexcept {
return m_sampleRate; }
97 constexpr int channelCount() const noexcept {
return m_channelCount; }
117 switch (m_sampleFormat) {
120 case UInt8:
return 1;
121 case Int16:
return 2;
123 case Float:
return 4;
132 return a.m_sampleRate ==
b.m_sampleRate &&
133 a.m_channelCount ==
b.m_channelCount &&
134 a.m_sampleFormat ==
b.m_sampleFormat;
145 short m_channelCount = 0;
147 int m_sampleRate = 0;
151#ifndef QT_NO_DEBUG_STREAM
IOBluetoothL2CAPChannel * channel
Combined button and popup list for selecting options.
constexpr int channelConfig(Args... values)
QAudioFormat::ChannelConfig channelConfig
GLenum GLsizei GLsizei GLint * values
[15]
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
[7]
unsigned long long quint64