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
qdrawavaudiodecoder_p.h File Reference

(ab5d16cdca6d1560bb36b5629352c3e8bc78a408)

#include <QtMultimedia/private/qplatformaudiodecoder_p.h>
#include <QtCore/qbytearray.h>
#include <QtCore/qspan.h>
#include <QtCore/qurl.h>
#include <QtCore/private/qexpected_p.h>
#include <algorithm>
#include <atomic>
#include <cstdint>
#include <memory>
#include <new>
#include <optional>
#include <type_traits>
Include dependency graph for qdrawavaudiodecoder_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QDrWavAudioDecoder

Namespaces

namespace  QtMultimediaPrivate

Typedefs

using QtMultimediaPrivate::QDrWavDecodeResult = q23::expected<QAudioBuffer, std::pair<QAudioDecoder::Error, QString>>

Functions

QDrWavDecodeResult QtMultimediaPrivate::loadWaveAndDecodeData (QSpan< const std::byte > data, const QAudioFormat &requestedFormat)
template<typename Reader>
std::optional< QByteArray > QtMultimediaPrivate::readFramesInChunks (uint64_t declaredFrameCount, size_t bytesPerFrame, Reader &&readFrames)