187 if (
config != ChannelConfigUnknown)
199 if (!(m_channelConfig & (1u <<
channel)))
202 uint maskedChannels = m_channelConfig & ((1u <<
channel) - 1);
310 return byteCount /
size;
333 if (!
isValid() || frameCount <= 0)
336 return (frameCount * 1000000LL) /
sampleRate();
361 switch (m_sampleFormat) {
363 return ((
float)*
reinterpret_cast<const quint8 *
>(sample))
364 / (float)std::numeric_limits<qint8>::max()
367 return ((
float)*
reinterpret_cast<const qint16 *
>(sample))
368 / (float)std::numeric_limits<qint16>::max();
370 return ((
float)*
reinterpret_cast<const qint32 *
>(sample))
371 / (float)std::numeric_limits<qint32>::max();
373 return *
reinterpret_cast<const float *
>(sample);
445#ifndef QT_NO_DEBUG_STREAM
472 dbg <<
"QAudioFormat(" <<
f.sampleRate() <<
"Hz, " <<
f.channelCount() <<
"Channels, "
473 <<
f.sampleFormat() <<
"Format )";
IOBluetoothL2CAPChannel * channel
Combined button and popup list for selecting options.
Q_DECL_CONST_FUNCTION QT_POPCOUNT_CONSTEXPR uint qPopulationCount(quint32 v) noexcept
GLenum GLuint GLintptr GLsizeiptr size
[1]