#include <QtCore/qstringlist.h>
#include <QtCore/qlist.h>
#include <QtCore/qbytearray.h>
#include <QtCore/qdatastream.h>
#include <QtCore/qdebug.h>
#include <private/qcore_mac_p.h>
#include <QtMultimedia/qaudiodeviceinfo.h>
#include "qaudio_mac_p.h"
#include "qaudiodeviceinfo_mac_p.h"
Go to the source code of this file.
◆ get_device_info()
Definition at line 272 of file qaudiodeviceinfo_mac_p.cpp.
277 AudioStreamBasicDescription sf;
285 size =
sizeof(AudioStreamBasicDescription);
286 if (AudioDeviceGetProperty(audioDevice, 0, isInput, kAudioDevicePropertyStreamFormat,
287 &size, &sf) != noErr) {
294 if (AudioDeviceGetProperty(audioDevice, 0, isInput, kAudioObjectPropertyName,
295 &size, &name) != noErr) {
296 qWarning() <<
"QAudioDeviceInfo: Unable to find device name";
const struct __CFString * CFStringRef
The QByteArray class provides an array of bytes.
static QString toQString(CFStringRef cfstr)
Q_CORE_EXPORT void qWarning(const char *,...)
The QDataStream class provides serialization of binary data to a QIODevice.