Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qdarwinaudiodevice_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3#ifndef IOSAUDIODEVICEINFO_H
4#define IOSAUDIODEVICEINFO_H
5
6//
7// W A R N I N G
8// -------------
9//
10// This file is not part of the Qt API. It exists purely as an
11// implementation detail. This header file may change from version to
12// version without notice, or even be removed.
13//
14// We mean it.
15//
16
17#include <private/qaudiosystem_p.h>
18#include <private/qaudiodevice_p.h>
19
20#if defined(Q_OS_MACOS)
21# include <CoreAudio/CoreAudio.h>
22#endif
23
25
27{
28public:
29#if defined(Q_OS_MACOS)
31#else
33#endif
35
37
38#if defined(Q_OS_MACOS)
39 AudioDeviceID deviceID() const { return m_deviceId; }
40#endif
41private:
42 QAudioFormat determinePreferredFormat() const;
43 QString getDescription() const;
44 void getChannelLayout();
45#if defined(Q_OS_MACOS)
46 AudioDeviceID m_deviceId;
47#endif
48};
49
51
52#endif
IOBluetoothDevice * device
Mode
Describes the mode of this device.
The QAudioFormat class stores audio stream parameter information.
\inmodule QtCore
Definition qbytearray.h:57
bool isFormatSupported(const QAudioFormat &format) const
QCoreAudioDeviceInfo(const QByteArray &device, QAudioDevice::Mode mode)
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
GLenum mode
GLint GLsizei GLsizei GLenum format