![]() |
Qt 6.x
The Qt SDK
|
#include <CoreAudio/AudioHardware.h>#include "qaudiodevice.h"#include "qdebug.h"#include <optional>#include <vector>#include <algorithm>
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.
Functions | |
| template<typename... Args> | |
| QT_BEGIN_NAMESPACE void | printUnableToReadWarning (const char *logName, AudioObjectID objectID, const AudioObjectPropertyAddress &address, Args &&...args) |
| static AudioObjectPropertyAddress | makePropertyAddress (AudioObjectPropertySelector selector, QAudioDevice::Mode mode, AudioObjectPropertyElement element=kAudioObjectPropertyElementMaster) |
| static bool | getAudioData (AudioObjectID objectID, const AudioObjectPropertyAddress &address, void *dst, UInt32 dstSize, const char *logName) |
| template<typename T > | |
| std::optional< std::vector< T > > | getAudioData (AudioObjectID objectID, const AudioObjectPropertyAddress &address, const char *logName, size_t minDataSize=0) |
| template<typename T > | |
| std::optional< T > | getAudioObject (AudioObjectID objectID, const AudioObjectPropertyAddress &address, const char *logName) |
| std::optional< std::vector< T > > getAudioData | ( | AudioObjectID | objectID, |
| const AudioObjectPropertyAddress & | address, | ||
| const char * | logName, | ||
| size_t | minDataSize = 0 |
||
| ) |
Definition at line 73 of file qmacosaudiodatautils_p.h.
References getAudioData(), and printUnableToReadWarning().
Here is the call graph for this function:
|
inlinestatic |
Definition at line 55 of file qmacosaudiodatautils_p.h.
References printUnableToReadWarning().
Referenced by getAudioData(), and getAudioObject().
Here is the call graph for this function:
Here is the caller graph for this function:| std::optional< T > getAudioObject | ( | AudioObjectID | objectID, |
| const AudioObjectPropertyAddress & | address, | ||
| const char * | logName | ||
| ) |
Definition at line 98 of file qmacosaudiodatautils_p.h.
References getAudioData().
Here is the call graph for this function:
|
inlinestatic |
Definition at line 46 of file qmacosaudiodatautils_p.h.
References QAudioDevice::Input, and selector.
| QT_BEGIN_NAMESPACE void printUnableToReadWarning | ( | const char * | logName, |
| AudioObjectID | objectID, | ||
| const AudioObjectPropertyAddress & | address, | ||
| Args &&... | args | ||
| ) |
Definition at line 30 of file qmacosaudiodatautils_p.h.
References args, and qWarning.
Referenced by getAudioData(), and getAudioData().
Here is the caller graph for this function: