![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Namespaces | |
| namespace | impl |
| namespace | Impl |
| namespace | QMediaMetaDataNamespaceForeign |
| namespace | QAudioDeviceNamespaceForeign |
| namespace | QCameraDeviceNamespaceForeign |
| namespace | QMediaFormatNamespaceForeign |
| namespace | QPlaybackOptionsNamespaceForeign |
| namespace | pmr |
| namespace | ranges |
| namespace | views |
Typedefs | |
| template<typename SampleTypeOrCallbackType> | |
| using | GetSampleType = typename GetSampleTypeImpl<SampleTypeOrCallbackType>::type |
| using | AudioSinkCallback = QtAudioPrivate::AudioSinkCallback |
| using | AudioSourceCallback = QtAudioPrivate::AudioSourceCallback |
| template<typename F> | |
| using | visitor_arg_t = typename Impl::visitor_arg<F>::type |
| template<typename SampleType> | |
| using | AudioSinkCallbackType |
| template<typename SampleType> | |
| using | AudioSourceCallbackType |
| using | QAutoResetEvent |
Enumerations | |
| enum class | AudioEndpointRole : uint8_t { MediaPlayback , SoundEffect , Accessibility , Other } |
| enum class | NativePeriodFrames : uint32_t |
| enum class | VoiceId : uint64_t |
| enum class | VoicePlayResult : uint8_t { Playing , Finished } |
| enum class | DRMFormat : std::uint32_t { RGBA8888 = fourcc_code('R', 'A', '2', '4') , RGB888 = fourcc_code('R', 'G', '2', '4') , RG88 = fourcc_code('R', 'G', '8', '8') , ARGB8888 = fourcc_code('A', 'R', '2', '4') , ABGR8888 = fourcc_code('A', 'B', '2', '4') , BGRA8888 = fourcc_code('B', 'A', '2', '4') , BGR888 = fourcc_code('B', 'G', '2', '4') , GR88 = fourcc_code('G', 'R', '8', '8') , R8 = fourcc_code('R', '8', ' ', ' ') , R16 = fourcc_code('R', '1', '6', ' ') , RGB565 = fourcc_code('R', 'G', '1', '6') , RG1616 = fourcc_code('R', 'G', '3', '2') , GR1616 = fourcc_code('G', 'R', '3', '2') , BGRA1010102 = fourcc_code('B', 'A', '3', '0') , YUYV = fourcc_code('Y', 'U', 'Y', 'V') , UYVY = fourcc_code('U', 'Y', 'V', 'Y') , AYUV = fourcc_code('A', 'Y', 'U', 'V') , NV12 = fourcc_code('N', 'V', '1', '2') , NV21 = fourcc_code('N', 'V', '2', '1') , P010 = fourcc_code('P', '0', '1', '0') , YUV411 = fourcc_code('Y', 'U', '1', '1') , YUV420 = fourcc_code('Y', 'U', '1', '2') , YVU420 = fourcc_code('Y', 'V', '1', '2') , YUV422 = fourcc_code('Y', 'U', '1', '6') , YUV444 = fourcc_code('Y', 'U', '2', '4') } |
Functions | |
| template<typename SampleTypeOrCallbackType> | |
| static constexpr QAudioFormat::SampleFormat | getSampleFormat () |
| template<typename Callback> | |
| AudioSinkCallback | asAudioSinkCallback (Callback &&cb) |
| template<typename Callback> | |
| AudioSourceCallback | asAudioSourceCallback (Callback &&cb) |
| template<typename AnyAudioCallback> | |
| constexpr bool | validateAudioCallbackImpl (const AnyAudioCallback &audioCallback, const QAudioFormat &format) |
| constexpr bool | validateAudioCallback (const AudioSinkCallback &audioCallback, const QAudioFormat &format) |
| constexpr bool | validateAudioCallback (const AudioSourceCallback &audioCallback, const QAudioFormat &format) |
| template<size_t limit = 1024 * 64, typename Functor> | |
| auto | withTemporaryBuffer (size_t bufferSize, Functor &&f) noexcept Q_DECL_NONBLOCKING_FUNCTION |
| void | runAudioCallback (AudioSinkCallback &audioCallback, QSpan< std::byte > hostBuffer, const QAudioFormat &format, float volume) |
| void | runAudioCallback (AudioSinkCallback &audioCallback, QSpan< std::byte > hostBuffer, const QAudioFormat &applicationFormat, float volume, const QAudioFormat &hostFormat) |
| void | runAudioCallback (AudioSinkCallback &audioCallback, QSpan< std::byte > hostBuffer, const QAudioFormat &applicationFormat, float volume, QAudioHelperInternal::NativeSampleFormat nativeHostFormat) |
| void | runAudioCallback (AudioSourceCallback &audioCallback, QSpan< const std::byte > hostBuffer, const QAudioFormat &format, float volume) |
| void | runAudioCallback (AudioSourceCallback &audioCallback, QSpan< std::byte > hostBuffer, const QAudioFormat &format, float volume) |
| template<typename HostBufferType> | |
| void | runAudioCallback (AudioSourceCallback &audioCallback, QSpan< HostBufferType > hostBuffer, const QAudioFormat &applicationFormat, float volume, const QAudioFormat &hostFormat) |
| template<typename HostBufferType> | |
| void | runAudioCallback (AudioSourceCallback &audioCallback, QSpan< HostBufferType > hostBuffer, const QAudioFormat &applicationFormat, float volume, QAudioHelperInternal::NativeSampleFormat nativeHostFormat) |
| static QtAudio::State | sinkStateToEngineState (QtAudio::State state) |
| std::optional< SampleRate > | asSampleRate (std::optional< int > arg) |
| q23::expected< QrcMedia, QString > | qCopyQrcToTemporaryFile (QFile &qrcFile, const QUrl &qrcUrl) |
| template<class... Ts> | |
| qOverloadedVisitor (Ts...) -> qOverloadedVisitor< Ts... > | |
| template<typename T, typename... Args> | |
| std::shared_ptr< T > | makeSharedDeleteLater (Args &&...args) |
| DEFINE_GUID (GUID_SLEEP_TIMEOUT, 0x29f6c1db, 0x86da, 0x48c5, 0x9f, 0xdb, 0xf2, 0xb6, 0x7b, 0x1f, 0x44, 0xda) | |
| void | refreshWarmupClient () |
| template<typename IntType> | |
| constexpr bool | isPowerOfTwo (IntType arg) |
| template<typename Type> | |
| constexpr Type | alignUp (Type arg, size_t alignment) |
| template<typename Type> | |
| constexpr Type | alignDown (Type arg, size_t alignment) |
| template<typename IntType> | |
| constexpr bool | isAligned (IntType arg, size_t alignment) |
| template<typename U, std::size_t E> | |
| QSpan< U > | drop (QSpan< U, E > span, qsizetype n) |
| template<typename U, std::size_t E> | |
| QSpan< U > | take (QSpan< U, E > span, qsizetype n) |
| template<typename T> | |
| int | findClosestSamplingRate (int rate, QSpan< const T > supportedRates) |
| void | setCoverArtImage (QMediaMetaData &metadata, const QImage &image) |
| constexpr uint32_t | fourcc_code (char a, char b, char c, char d) |
| QSpan< const DRMFormat > | dmaBufFourccFromPixelFormat (const QVideoFrameFormat::PixelFormat format) |
Variables | |
| static constexpr qsizetype | scratchpadBufferSizeLimit = 512 * 1024 |
| constexpr std::array | allSupportedSampleRates |
| constexpr std::array | allSupportedSampleFormats |
| static constexpr uint64_t | DmaBufFormatModifierInvalid = ((1ULL << 56) - 1) |
Definition at line 168 of file qaudiosystem_p.h.
| using QtAudioPrivate::AudioSinkCallbackType |
Definition at line 169 of file qaudiosystem_p.h.
| using QtAudioPrivate::AudioSourceCallbackType |
| using QtMultimediaPrivate::GetSampleType = typename GetSampleTypeImpl<SampleTypeOrCallbackType>::type |
Definition at line 154 of file qaudiosystem_p.h.
Definition at line 54 of file qautoresetevent_p.h.
| using QtMultimediaPrivate::visitor_arg_t = typename Impl::visitor_arg<F>::type |
Definition at line 130 of file qrtaudioengine_p.h.
|
strong |
| Enumerator | |
|---|---|
| MediaPlayback | |
| SoundEffect | |
| Accessibility | |
| Other | |
Definition at line 89 of file qaudiosystem_p.h.
|
strong |
| Enumerator | |
|---|---|
| RGBA8888 | |
| RGB888 | |
| RG88 | |
| ARGB8888 | |
| ABGR8888 | |
| BGRA8888 | |
| BGR888 | |
| GR88 | |
| R8 | |
| R16 | |
| RGB565 | |
| RG1616 | |
| GR1616 | |
| BGRA1010102 | |
| YUYV | |
| UYVY | |
| AYUV | |
| NV12 | |
| NV21 | |
| P010 | |
| YUV411 | |
| YUV420 | |
| YVU420 | |
| YUV422 | |
| YUV444 | |
Definition at line 35 of file qmultimedia_drm_support_p.h.
|
strong |
Definition at line 396 of file qaudiosystem_p.h.
|
strong |
Definition at line 41 of file qrtaudioengine_p.h.
|
strong |
| Enumerator | |
|---|---|
| Playing | |
| Finished | |
Definition at line 45 of file qrtaudioengine_p.h.
|
constexpr |
Definition at line 42 of file qaudio_alignment_support_p.h.
Definition at line 31 of file qaudio_alignment_support_p.h.
|
inline |
Definition at line 173 of file qaudiosystem_p.h.
|
inline |
Definition at line 184 of file qaudiosystem_p.h.
|
inline |
Definition at line 46 of file qsamplecache_p.h.
| QtMultimediaPrivate::DEFINE_GUID | ( | GUID_SLEEP_TIMEOUT | , |
| 0x29f6c1db | , | ||
| 0x86da | , | ||
| 0x48c5 | , | ||
| 0x9f | , | ||
| 0xdb | , | ||
| 0xf2 | , | ||
| 0xb6 | , | ||
| 0x7b | , | ||
| 0x1f | , | ||
| 0x44 | , | ||
| 0xda | ) |
|
inline |
|
inline |
Definition at line 27 of file qaudio_qspan_support_p.h.
| int QtMultimediaPrivate::findClosestSamplingRate | ( | int | rate, |
| QSpan< const T > | supportedRates ) |
Definition at line 41 of file qaudioformat_p.h.
|
constexpr |
Definition at line 29 of file qmultimedia_drm_support_p.h.
|
staticconstexpr |
Definition at line 157 of file qaudiosystem_p.h.
|
constexpr |
Definition at line 53 of file qaudio_alignment_support_p.h.
|
inlineconstexpr |
Definition at line 25 of file qaudio_alignment_support_p.h.
| std::shared_ptr< T > QtMultimediaPrivate::makeSharedDeleteLater | ( | Args &&... | args | ) |
Definition at line 119 of file qmultimediautils_p.h.
| q23::expected< QrcMedia, QString > QtMultimediaPrivate::qCopyQrcToTemporaryFile | ( | QFile & | qrcFile, |
| const QUrl & | qrcUrl ) |
Definition at line 193 of file qmultimediautils.cpp.
| QtMultimediaPrivate::qOverloadedVisitor | ( | Ts... | ) | -> qOverloadedVisitor< Ts... > |
| void QtMultimediaPrivate::refreshWarmupClient | ( | ) |
Definition at line 295 of file qwindows_wasapi_warmup_client.cpp.
|
inline |
Definition at line 299 of file qaudiosystem_p.h.
|
inline |
Definition at line 314 of file qaudiosystem_p.h.
|
inline |
Definition at line 292 of file qaudiosystem_p.h.
|
inline |
Definition at line 333 of file qaudiosystem_p.h.
|
inline |
Definition at line 354 of file qaudiosystem_p.h.
|
inline |
Definition at line 374 of file qaudiosystem_p.h.
|
inline |
Definition at line 346 of file qaudiosystem_p.h.
|
inline |
Definition at line 32 of file qmediametadata_p.h.
|
static |
Definition at line 30 of file qrtaudioengine.cpp.
|
inline |
Definition at line 36 of file qaudio_qspan_support_p.h.
|
constexpr |
Definition at line 213 of file qaudiosystem_p.h.
|
constexpr |
Definition at line 219 of file qaudiosystem_p.h.
|
constexpr |
Definition at line 196 of file qaudiosystem_p.h.
|
inlinenoexcept |
Definition at line 229 of file qaudiosystem_p.h.
|
inlineconstexpr |
Definition at line 33 of file qaudioformat_p.h.
|
inlineconstexpr |
Definition at line 28 of file qaudioformat_p.h.
|
staticconstexpr |
Definition at line 27 of file qmultimedia_drm_support_p.h.
|
staticconstexpr |
Definition at line 303 of file qaudiosystem_platform_stream_support.cpp.