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
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 QDARWINAUDIODEVICE_P_H
4#define QDARWINAUDIODEVICE_P_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/qaudiodevice_p.h>
18
19#if defined(Q_OS_MACOS)
20# include <CoreAudio/CoreAudio.h>
21#endif
22
23QT_BEGIN_NAMESPACE
24
25class QCoreAudioDeviceInfo : public QAudioDevicePrivate
26{
27public:
28#if defined(Q_OS_MACOS)
29 QCoreAudioDeviceInfo(AudioDeviceID id, const QByteArray &device, QAudioDevice::Mode mode);
30#else
31 QCoreAudioDeviceInfo(const QByteArray &device, QAudioDevice::Mode mode);
32#endif
33};
34
35QT_END_NAMESPACE
36
37#endif // QDARWINAUDIODEVICE_P_H
QAudioFormat::ChannelConfig qGetDefaultChannelLayout(QAudioDevice::Mode mode)
QAudioFormat qDefaultPreferredFormat(QAudioDevice::Mode mode, QAudioFormat::ChannelConfig channelConfig)
QString qGetDefaultDescription(const QByteArray &id)