![]() |
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 | pmr |
| namespace | QAudioDeviceNamespaceForeign |
| namespace | QCameraDeviceNamespaceForeign |
| namespace | QMediaFormatNamespaceForeign |
| namespace | QMediaMetaDataNamespaceForeign |
| namespace | QPlaybackOptionsNamespaceForeign |
| namespace | ranges |
Typedefs | |
| template<typename SampleType> | |
| using | AudioSinkCallbackType = std::function<void(QSpan<SampleType>)> |
| template<typename SampleType> | |
| using | AudioSourceCallbackType = std::function<void(QSpan<const SampleType>)> |
| template<typename SampleTypeOrCallbackType> | |
| using | GetSampleType = typename GetSampleTypeImpl<SampleTypeOrCallbackType>::type |
| using | AudioSinkCallback |
| using | AudioSourceCallback |
| template<typename F> | |
| using | visitor_arg_t = typename Impl::visitor_arg<F>::type |
| using | QAutoResetEvent |
Enumerations | |
| enum class | AudioEndpointRole : uint8_t { MediaPlayback , SoundEffect , Accessibility , Other } |
| enum class | VoiceId : uint64_t |
| enum class | VoicePlayResult : uint8_t { Playing , Finished } |
Functions | |
| template<typename SampleTypeOrCallbackType> | |
| static constexpr QAudioFormat::SampleFormat | getSampleFormat () |
| 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<bool IsSink> | |
| void | runAudioCallback (std::conditional_t< IsSink, AudioSinkCallback, AudioSourceCallback > &audioCallback, QSpan< std::conditional_t< IsSink, std::byte, const std::byte > > hostBuffer, const QAudioFormat &format) |
| void | runAudioCallback (AudioSinkCallback &audioCallback, QSpan< std::byte > hostBuffer, const QAudioFormat &format, float volume) |
| void | runAudioCallback (AudioSourceCallback &audioCallback, QSpan< const std::byte > hostBuffer, const QAudioFormat &format, float volume) |
| 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> | |
| QSpan< U > | drop (QSpan< U > span, qsizetype n) |
| template<typename U> | |
| QSpan< U > | take (QSpan< U > span, qsizetype n) |
| template<typename T> | |
| int | findClosestSamplingRate (int rate, QSpan< const T > supportedRates) |
Variables | |
| static constexpr qsizetype | scratchpadBufferSizeLimit = 512 * 1024 |
| constexpr std::array | allSupportedSampleRates |
| constexpr std::array | allSupportedSampleFormats |
Definition at line 141 of file qaudiosystem_p.h.
| using QtMultimediaPrivate::AudioSinkCallbackType = std::function<void(QSpan<SampleType>)> |
Definition at line 56 of file qaudiosystem_p.h.
Definition at line 144 of file qaudiosystem_p.h.
| using QtMultimediaPrivate::AudioSourceCallbackType = std::function<void(QSpan<const SampleType>)> |
Definition at line 59 of file qaudiosystem_p.h.
| using QtMultimediaPrivate::GetSampleType = typename GetSampleTypeImpl<SampleTypeOrCallbackType>::type |
Definition at line 124 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 131 of file qrtaudioengine_p.h.
|
strong |
| Enumerator | |
|---|---|
| MediaPlayback | |
| SoundEffect | |
| Accessibility | |
| Other | |
Definition at line 45 of file qaudiosystem_p.h.
|
strong |
Definition at line 42 of file qrtaudioengine_p.h.
|
strong |
| Enumerator | |
|---|---|
| Playing | |
| Finished | |
Definition at line 46 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.
| QtMultimediaPrivate::DEFINE_GUID | ( | GUID_SLEEP_TIMEOUT | , |
| 0x29f6c1db | , | ||
| 0x86da | , | ||
| 0x48c5 | , | ||
| 0x9f | , | ||
| 0xdb | , | ||
| 0xf2 | , | ||
| 0xb6 | , | ||
| 0x7b | , | ||
| 0x1f | , | ||
| 0x44 | , | ||
| 0xda | ) |
Definition at line 27 of file qaudio_qspan_support_p.h.
| int QtMultimediaPrivate::findClosestSamplingRate | ( | int | rate, |
| QSpan< const T > | supportedRates ) |
Definition at line 40 of file qaudioformat_p.h.
|
staticconstexpr |
Definition at line 127 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.
| void QtMultimediaPrivate::refreshWarmupClient | ( | ) |
Definition at line 288 of file qwindows_wasapi_warmup_client.cpp.
|
inline |
Definition at line 211 of file qaudiosystem_p.h.
References runAudioCallback().
Referenced by runAudioCallback(), and runAudioCallback().
|
inline |
Definition at line 221 of file qaudiosystem_p.h.
References runAudioCallback().
|
inline |
Definition at line 182 of file qaudiosystem_p.h.
Definition at line 36 of file qaudio_qspan_support_p.h.
|
constexpr |
Definition at line 168 of file qaudiosystem_p.h.
|
constexpr |
Definition at line 174 of file qaudiosystem_p.h.
|
constexpr |
Definition at line 151 of file qaudiosystem_p.h.
|
inlineconstexpr |
Definition at line 32 of file qaudioformat_p.h.
|
inlineconstexpr |
Definition at line 27 of file qaudioformat_p.h.
|
staticconstexpr |
Definition at line 310 of file qaudiosystem_platform_stream_support.cpp.