![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qspatialaudiosound_p.h>
Public Types | |
| enum class | State : uint8_t { Stopped , Playing , Paused } |
| Public Types inherited from QObjectPrivate | |
| typedef void(*) | StaticMetaCallFunction(QObject *, QMetaObject::Call, int, void **) |
| using | ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData> |
Public Attributes | |
| const int | nchannels = 2 |
| QAudioEngine *const | engine |
| const int | sourceId |
| Public Attributes inherited from QObjectPrivate | |
| ExtraData * | extraData |
| QAtomicPointer< QThreadData > | threadData |
| QAtomicPointer< ConnectionData > | connections |
| union | |
| QAtomicPointer< QtSharedPointer::ExternalRefCountData > | sharedRefcount |
| Public Attributes inherited from QObjectData | |
| QObject * | q_ptr |
| QObject * | parent |
| QObjectList | children |
| uint | isWidget: 1 |
| uint | blockSig: 1 |
| uint | wasDeleted: 1 |
| uint | isDeletingChildren: 1 |
| uint | sendChildEvents: 1 |
| uint | receiveChildEvents: 1 |
| uint | isWindow: 1 |
| uint | deleteLaterCalled: 1 |
| uint | isQuickItem: 1 |
| uint | willBeWidget: 1 |
| uint | wasWidget: 1 |
| uint | receiveParentEvents: 1 |
| uint | unused: 20 |
| QAtomicInt | postedEvents |
| QDynamicMetaObjectData * | metaObject |
| QBindingStorage | bindingStorage |
Protected Member Functions | |
| template<typename Functor> | |
| auto | withResonanceApi (Functor &&ff) |
| virtual void | applyVolume () |
Friends | |
| class | QQuick3DSpatialSound |
| class | QQuick3DAmbientSound |
Additional Inherited Members | |
| Static Public Member Functions inherited from QObjectPrivate | |
| static bool | removeConnection (Connection *cc) |
| static QObjectPrivate * | get (QObject *o) |
| static const QObjectPrivate * | get (const QObject *o) |
| static void | deleteInOwnThread (QObject *objectobject) |
| template<typename Func1, typename Func2> | |
| static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType typetype=Qt::AutoConnection) |
| template<typename Func1, typename Func2> | |
| static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
| static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int typetype, const int *typestypes, const QMetaObject *senderMetaObject) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType typetype) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType typetype) |
| static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
| static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Definition at line 69 of file qspatialaudiosound_p.h.
|
strong |
| Enumerator | |
|---|---|
| Stopped | |
| Playing | |
| Paused | |
Definition at line 96 of file qspatialaudiosound_p.h.
| QSpatialAudioSoundPrivate::QSpatialAudioSoundPrivate | ( | QAudioEngine * | engine, |
| int | nchannels, | ||
| int | sourceId ) |
Definition at line 103 of file qspatialaudiosound.cpp.
| QSpatialAudioSoundPrivate::~QSpatialAudioSoundPrivate | ( | ) |
Definition at line 112 of file qspatialaudiosound.cpp.
References sourceId.
|
protectedvirtual |
Reimplemented in QSpatialSoundPrivate, and QSpatialSoundPrivate.
Definition at line 141 of file qspatialaudiosound.cpp.
References sourceId.
Referenced by setVolume().
|
inline |
Definition at line 83 of file qspatialaudiosound_p.h.
Definition at line 210 of file qspatialaudiosound.cpp.
|
inline |
Definition at line 81 of file qspatialaudiosound_p.h.
| void QSpatialAudioSoundPrivate::pause | ( | ) |
Definition at line 170 of file qspatialaudiosound.cpp.
| void QSpatialAudioSoundPrivate::play | ( | ) |
Definition at line 148 of file qspatialaudiosound.cpp.
| void QSpatialAudioSoundPrivate::setAutoPlay | ( | bool | enabled | ) |
Definition at line 136 of file qspatialaudiosound.cpp.
| void QSpatialAudioSoundPrivate::setLoops | ( | int | loops | ) |
Definition at line 129 of file qspatialaudiosound.cpp.
| void QSpatialAudioSoundPrivate::setVolume | ( | float | volume | ) |
Definition at line 123 of file qspatialaudiosound.cpp.
References applyVolume().
|
inline |
Definition at line 101 of file qspatialaudiosound_p.h.
| void QSpatialAudioSoundPrivate::stop | ( | ) |
Definition at line 194 of file qspatialaudiosound.cpp.
|
inlinevirtual |
Reimplemented in QSpatialSoundPrivate, and QSpatialSoundPrivate.
Definition at line 86 of file qspatialaudiosound_p.h.
|
inline |
Definition at line 75 of file qspatialaudiosound_p.h.
|
inline |
Definition at line 79 of file qspatialaudiosound_p.h.
|
inlineprotected |
Definition at line 105 of file qspatialaudiosound_p.h.
|
friend |
Definition at line 137 of file qspatialaudiosound_p.h.
|
friend |
Definition at line 136 of file qspatialaudiosound_p.h.
| QAudioEngine* const QSpatialAudioSoundPrivate::engine |
Definition at line 93 of file qspatialaudiosound_p.h.
Referenced by QSpatialAudioSoundPrivate().
| const int QSpatialAudioSoundPrivate::nchannels = 2 |
Definition at line 92 of file qspatialaudiosound_p.h.
Referenced by QSpatialAudioSoundPrivate().
| const int QSpatialAudioSoundPrivate::sourceId |
Definition at line 94 of file qspatialaudiosound_p.h.
Referenced by QSpatialAudioSoundPrivate(), ~QSpatialAudioSoundPrivate(), and applyVolume().