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

(4f4072cc6e10607c21fc26f62b8ccc80280c70b5)

#include <QtCore/qspan.h>
#include <QtMultimedia/qaudioformat.h>
#include <QtMultimedia/private/qtmultimediaglobal_p.h>
#include <QtMultimedia/private/qaudio_rtsan_support_p.h>
Include dependency graph for qaudiohelpers_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  QAudioHelperInternal

Enumerations

enum class  QAudioHelperInternal::NativeSampleFormat : uint8_t {
  QAudioHelperInternal::uint8_t , QAudioHelperInternal::int16_t , QAudioHelperInternal::int32_t , QAudioHelperInternal::int24_t_3b ,
  QAudioHelperInternal::int24_t_4b_low , QAudioHelperInternal::float32_t
}

Functions

void QAudioHelperInternal::qMultiplySamples (float factor, const QAudioFormat &format, const void *src, void *dest, int len) noexcept QT_MM_NONBLOCKING
void QAudioHelperInternal::applyVolume (float volume, const QAudioFormat &format, QSpan< const std::byte > source, QSpan< std::byte > destination) noexcept QT_MM_NONBLOCKING
void QAudioHelperInternal::convertSampleFormat (QSpan< const std::byte > source, NativeSampleFormat sourceFormat, QSpan< std::byte > destination, NativeSampleFormat destinationFormat) noexcept QT_MM_NONBLOCKING
NativeSampleFormat QAudioHelperInternal::bestNativeSampleFormat (const QAudioFormat &fmt, QSpan< const NativeSampleFormat > supportedNativeFormats)
QAudioFormat::SampleFormat QAudioHelperInternal::bestSampleFormat (const NativeSampleFormat fmt)
NativeSampleFormat QAudioHelperInternal::toNativeSampleFormat (QAudioFormat::SampleFormat fmt)
constexpr size_t QAudioHelperInternal::bytesPerSample (NativeSampleFormat fmt) noexcept QT_MM_NONBLOCKING
std::optional< float > QAudioHelperInternal::sanitizeVolume (float volume, float lastValue)
Q_MULTIMEDIA_EXPORT QDebug operator<< (QDebug dbg, QAudioHelperInternal::NativeSampleFormat)

Function Documentation

◆ operator<<()

Q_MULTIMEDIA_EXPORT QDebug operator<< ( QDebug dbg,
QAudioHelperInternal::NativeSampleFormat  )