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

(85f7735db225a59c1ca19cc0f122535e76b5a554)

#include <CoreAudio/AudioHardware.h>
#include <QtMultimedia/qaudiodevice.h>
#include <QtMultimedia/private/qcoreaudioutils_p.h>
#include <QtCore/qdebug.h>
#include <QtCore/qspan.h>
#include <QtCore/private/qcore_mac_p.h>
#include <optional>
#include <vector>
Include dependency graph for qmacosaudiodatautils_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  QCoreAudioUtils

Functions

QStringView QCoreAudioUtils::audioPropertySelectorToString (AudioObjectPropertySelector selector)
QStringView QCoreAudioUtils::audioPropertyScopeToString (AudioObjectPropertyScope scope)
QStringView QCoreAudioUtils::audioPropertyElementToString (AudioObjectPropertyElement element)
QByteArray QCoreAudioUtils::readPersistentDeviceId (AudioDeviceID, QAudioDevice::Mode)
std::optional< AudioDeviceID > QCoreAudioUtils::findAudioDeviceId (const QByteArray &id, QAudioDevice::Mode)
std::optional< AudioDeviceID > QCoreAudioUtils::findAudioDeviceId (const QAudioDevice &device)
template<typename... Args>
void QCoreAudioUtils::printUnableToReadWarning (AudioObjectID objectID, const AudioObjectPropertyAddress &address, Args &&...args)
AudioObjectPropertyAddress QCoreAudioUtils::makePropertyAddress (AudioObjectPropertySelector selector, QAudioDevice::Mode mode, AudioObjectPropertyElement element=kAudioObjectPropertyElementMain)
bool QCoreAudioUtils::getAudioPropertyRaw (AudioObjectID objectID, const AudioObjectPropertyAddress &address, QSpan< std::byte > destination, bool warnIfMissing=true)
template<typename T>
std::optional< std::vector< T > > QCoreAudioUtils::getAudioPropertyList (AudioObjectID objectID, const AudioObjectPropertyAddress &address, bool warnIfMissing=true)
template<typename T>
std::optional< T > QCoreAudioUtils::getAudioProperty (AudioObjectID objectID, const AudioObjectPropertyAddress &address, bool warnIfMissing=false)
template<typename T>
std::unique_ptr< T, QCoreAudioUtils::QFreeDeleterQCoreAudioUtils::getAudioPropertyWithFlexibleArrayMember (AudioObjectID objectID, const AudioObjectPropertyAddress &address, bool warnIfMissing=false)