Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qcoreaudiosessionmanager_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
4#ifndef IOSAUDIOSESSIONMANAGER_H
5#define IOSAUDIOSESSIONMANAGER_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QObject>
19#ifdef QT_DEBUG_COREAUDIO
20# include <QtCore/QDebug>
21#endif
22
24
26
28{
30public:
39 };
41 None = 0,
46 };
54 };
55
57
58 bool setActive(bool active);
61
64
67
69 float preferredSampleRate();
70
77
78private:
83
84 CoreAudioSessionObserver *m_sessionObserver;
85};
86
87#ifdef QT_DEBUG_COREAUDIO
91#endif
92
94
95#endif // IOSAUDIOSESSIONMANAGER_H
QList< QByteArray > outputDevices()
AudioSessionCategorys category()
bool setCategory(AudioSessionCategorys category, AudioSessionCategoryOptions options=None)
bool setMode(AudioSessionModes mode)
static CoreAudioSessionManager & instance()
\inmodule QtCore
Definition qlist.h:74
\inmodule QtCore
Definition qobject.h:90
const QLoggingCategory & category()
[1]
Combined button and popup list for selecting options.
static jboolean copy(JNIEnv *, jobject)
GLenum mode
GLuint GLenum option
#define Q_OBJECT
#define signals
QDataStream & operator<<(QDataStream &out, const MyClass &myObj)
[4]