miqt/qt6/spatialaudio/gen_qspatialsound.h

131 lines
6.4 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_SPATIALAUDIO_GEN_QSPATIALSOUND_H
#define MIQT_QT6_SPATIALAUDIO_GEN_QSPATIALSOUND_H
2024-11-04 10:15:32 +00:00
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "../../libmiqt/libmiqt.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QAudioEngine;
2024-11-19 06:29:06 +00:00
class QChildEvent;
class QEvent;
class QMetaMethod;
2024-11-04 10:15:32 +00:00
class QMetaObject;
2024-11-19 06:29:06 +00:00
class QObject;
2024-11-04 10:15:32 +00:00
class QQuaternion;
class QSpatialSound;
2024-11-19 06:29:06 +00:00
class QTimerEvent;
2024-11-04 10:15:32 +00:00
class QUrl;
class QVector3D;
#else
typedef struct QAudioEngine QAudioEngine;
2024-11-19 06:29:06 +00:00
typedef struct QChildEvent QChildEvent;
typedef struct QEvent QEvent;
typedef struct QMetaMethod QMetaMethod;
2024-11-04 10:15:32 +00:00
typedef struct QMetaObject QMetaObject;
2024-11-19 06:29:06 +00:00
typedef struct QObject QObject;
2024-11-04 10:15:32 +00:00
typedef struct QQuaternion QQuaternion;
typedef struct QSpatialSound QSpatialSound;
2024-11-19 06:29:06 +00:00
typedef struct QTimerEvent QTimerEvent;
2024-11-04 10:15:32 +00:00
typedef struct QUrl QUrl;
typedef struct QVector3D QVector3D;
#endif
2024-12-07 04:15:57 +00:00
QSpatialSound* QSpatialSound_new(QAudioEngine* engine);
void QSpatialSound_virtbase(QSpatialSound* src, QObject** outptr_QObject);
2024-11-04 10:15:32 +00:00
QMetaObject* QSpatialSound_MetaObject(const QSpatialSound* self);
void* QSpatialSound_Metacast(QSpatialSound* self, const char* param1);
struct miqt_string QSpatialSound_Tr(const char* s);
void QSpatialSound_SetSource(QSpatialSound* self, QUrl* url);
QUrl* QSpatialSound_Source(const QSpatialSound* self);
int QSpatialSound_Loops(const QSpatialSound* self);
void QSpatialSound_SetLoops(QSpatialSound* self, int loops);
bool QSpatialSound_AutoPlay(const QSpatialSound* self);
void QSpatialSound_SetAutoPlay(QSpatialSound* self, bool autoPlay);
void QSpatialSound_SetPosition(QSpatialSound* self, QVector3D* pos);
QVector3D* QSpatialSound_Position(const QSpatialSound* self);
void QSpatialSound_SetRotation(QSpatialSound* self, QQuaternion* q);
QQuaternion* QSpatialSound_Rotation(const QSpatialSound* self);
void QSpatialSound_SetVolume(QSpatialSound* self, float volume);
float QSpatialSound_Volume(const QSpatialSound* self);
void QSpatialSound_SetDistanceModel(QSpatialSound* self, int model);
int QSpatialSound_DistanceModel(const QSpatialSound* self);
void QSpatialSound_SetSize(QSpatialSound* self, float size);
float QSpatialSound_Size(const QSpatialSound* self);
void QSpatialSound_SetDistanceCutoff(QSpatialSound* self, float cutoff);
float QSpatialSound_DistanceCutoff(const QSpatialSound* self);
void QSpatialSound_SetManualAttenuation(QSpatialSound* self, float attenuation);
float QSpatialSound_ManualAttenuation(const QSpatialSound* self);
void QSpatialSound_SetOcclusionIntensity(QSpatialSound* self, float occlusion);
float QSpatialSound_OcclusionIntensity(const QSpatialSound* self);
void QSpatialSound_SetDirectivity(QSpatialSound* self, float alpha);
float QSpatialSound_Directivity(const QSpatialSound* self);
void QSpatialSound_SetDirectivityOrder(QSpatialSound* self, float alpha);
float QSpatialSound_DirectivityOrder(const QSpatialSound* self);
void QSpatialSound_SetNearFieldGain(QSpatialSound* self, float gain);
float QSpatialSound_NearFieldGain(const QSpatialSound* self);
QAudioEngine* QSpatialSound_Engine(const QSpatialSound* self);
void QSpatialSound_SourceChanged(QSpatialSound* self);
void QSpatialSound_connect_SourceChanged(QSpatialSound* self, intptr_t slot);
void QSpatialSound_LoopsChanged(QSpatialSound* self);
void QSpatialSound_connect_LoopsChanged(QSpatialSound* self, intptr_t slot);
void QSpatialSound_AutoPlayChanged(QSpatialSound* self);
void QSpatialSound_connect_AutoPlayChanged(QSpatialSound* self, intptr_t slot);
void QSpatialSound_PositionChanged(QSpatialSound* self);
void QSpatialSound_connect_PositionChanged(QSpatialSound* self, intptr_t slot);
void QSpatialSound_RotationChanged(QSpatialSound* self);
void QSpatialSound_connect_RotationChanged(QSpatialSound* self, intptr_t slot);
void QSpatialSound_VolumeChanged(QSpatialSound* self);
void QSpatialSound_connect_VolumeChanged(QSpatialSound* self, intptr_t slot);
void QSpatialSound_DistanceModelChanged(QSpatialSound* self);
void QSpatialSound_connect_DistanceModelChanged(QSpatialSound* self, intptr_t slot);
void QSpatialSound_SizeChanged(QSpatialSound* self);
void QSpatialSound_connect_SizeChanged(QSpatialSound* self, intptr_t slot);
void QSpatialSound_DistanceCutoffChanged(QSpatialSound* self);
void QSpatialSound_connect_DistanceCutoffChanged(QSpatialSound* self, intptr_t slot);
void QSpatialSound_ManualAttenuationChanged(QSpatialSound* self);
void QSpatialSound_connect_ManualAttenuationChanged(QSpatialSound* self, intptr_t slot);
void QSpatialSound_OcclusionIntensityChanged(QSpatialSound* self);
void QSpatialSound_connect_OcclusionIntensityChanged(QSpatialSound* self, intptr_t slot);
void QSpatialSound_DirectivityChanged(QSpatialSound* self);
void QSpatialSound_connect_DirectivityChanged(QSpatialSound* self, intptr_t slot);
void QSpatialSound_DirectivityOrderChanged(QSpatialSound* self);
void QSpatialSound_connect_DirectivityOrderChanged(QSpatialSound* self, intptr_t slot);
void QSpatialSound_NearFieldGainChanged(QSpatialSound* self);
void QSpatialSound_connect_NearFieldGainChanged(QSpatialSound* self, intptr_t slot);
void QSpatialSound_Play(QSpatialSound* self);
void QSpatialSound_Pause(QSpatialSound* self);
void QSpatialSound_Stop(QSpatialSound* self);
struct miqt_string QSpatialSound_Tr2(const char* s, const char* c);
struct miqt_string QSpatialSound_Tr3(const char* s, const char* c, int n);
2024-11-19 06:29:06 +00:00
void QSpatialSound_override_virtual_Event(void* self, intptr_t slot);
bool QSpatialSound_virtualbase_Event(void* self, QEvent* event);
void QSpatialSound_override_virtual_EventFilter(void* self, intptr_t slot);
bool QSpatialSound_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
void QSpatialSound_override_virtual_TimerEvent(void* self, intptr_t slot);
void QSpatialSound_virtualbase_TimerEvent(void* self, QTimerEvent* event);
void QSpatialSound_override_virtual_ChildEvent(void* self, intptr_t slot);
void QSpatialSound_virtualbase_ChildEvent(void* self, QChildEvent* event);
void QSpatialSound_override_virtual_CustomEvent(void* self, intptr_t slot);
void QSpatialSound_virtualbase_CustomEvent(void* self, QEvent* event);
void QSpatialSound_override_virtual_ConnectNotify(void* self, intptr_t slot);
void QSpatialSound_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
void QSpatialSound_override_virtual_DisconnectNotify(void* self, intptr_t slot);
void QSpatialSound_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
void QSpatialSound_Delete(QSpatialSound* self, bool isSubclass);
2024-11-04 10:15:32 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif