92 if (!
format.isValid() || !numFrames)
QAudioBufferPrivate(const QAudioFormat &f, const QByteArray &d, qint64 start)
QAudioBuffer() noexcept
Create a new, empty, invalid buffer.
QAudioBuffer & operator=(const QAudioBuffer &other)
Moves other into this QAudioBuffer.
qsizetype sampleCount() const noexcept
Returns the number of samples in this buffer.
qint64 startTime() const noexcept
Returns the time in a stream that this buffer starts at (in microseconds).
const T * constData() const
~QAudioBuffer()
Destroys this audio buffer.
qsizetype byteCount() const noexcept
Returns the size of this buffer, in bytes.
qsizetype frameCount() const noexcept
Returns the number of complete audio frames in this buffer.
void detach()
Detaches this audio buffers from other copies that might share data with it.
qint64 duration() const noexcept
Returns the duration of audio in this buffer, in microseconds.
QAudioFormat format() const noexcept
Returns the \l {QAudioFormat}{format} of this buffer.
char * data()
\macro QT_NO_CAST_FROM_BYTEARRAY
qsizetype size() const noexcept
Returns the number of bytes in this byte array.
const char * constData() const noexcept
Returns a pointer to the const data stored in the byte array.
Combined button and popup list for selecting options.
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLint GLsizei GLsizei GLenum format
#define QT_DEFINE_QESDP_SPECIALIZATION_DTOR(Class)