miqt/qt6/multimedia/gen_qaudiosink.h

92 lines
4.0 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_MULTIMEDIA_GEN_QAUDIOSINK_H
#define MIQT_QT6_MULTIMEDIA_GEN_QAUDIOSINK_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 QAudioDevice;
class QAudioFormat;
class QAudioSink;
2024-11-19 06:29:06 +00:00
class QChildEvent;
class QEvent;
2024-11-04 10:15:32 +00:00
class QIODevice;
2024-11-19 06:29:06 +00:00
class QMetaMethod;
2024-11-04 10:15:32 +00:00
class QMetaObject;
class QObject;
2024-11-19 06:29:06 +00:00
class QTimerEvent;
2024-11-04 10:15:32 +00:00
#else
typedef struct QAudioDevice QAudioDevice;
typedef struct QAudioFormat QAudioFormat;
typedef struct QAudioSink QAudioSink;
2024-11-19 06:29:06 +00:00
typedef struct QChildEvent QChildEvent;
typedef struct QEvent QEvent;
2024-11-04 10:15:32 +00:00
typedef struct QIODevice QIODevice;
2024-11-19 06:29:06 +00:00
typedef struct QMetaMethod QMetaMethod;
2024-11-04 10:15:32 +00:00
typedef struct QMetaObject QMetaObject;
typedef struct QObject QObject;
2024-11-19 06:29:06 +00:00
typedef struct QTimerEvent QTimerEvent;
2024-11-04 10:15:32 +00:00
#endif
2024-11-19 06:29:06 +00:00
void QAudioSink_new(QAudioSink** outptr_QAudioSink, QObject** outptr_QObject);
void QAudioSink_new2(QAudioDevice* audioDeviceInfo, QAudioSink** outptr_QAudioSink, QObject** outptr_QObject);
void QAudioSink_new3(QAudioFormat* format, QAudioSink** outptr_QAudioSink, QObject** outptr_QObject);
void QAudioSink_new4(QAudioFormat* format, QObject* parent, QAudioSink** outptr_QAudioSink, QObject** outptr_QObject);
void QAudioSink_new5(QAudioDevice* audioDeviceInfo, QAudioFormat* format, QAudioSink** outptr_QAudioSink, QObject** outptr_QObject);
void QAudioSink_new6(QAudioDevice* audioDeviceInfo, QAudioFormat* format, QObject* parent, QAudioSink** outptr_QAudioSink, QObject** outptr_QObject);
2024-11-04 10:15:32 +00:00
QMetaObject* QAudioSink_MetaObject(const QAudioSink* self);
void* QAudioSink_Metacast(QAudioSink* self, const char* param1);
struct miqt_string QAudioSink_Tr(const char* s);
bool QAudioSink_IsNull(const QAudioSink* self);
QAudioFormat* QAudioSink_Format(const QAudioSink* self);
void QAudioSink_Start(QAudioSink* self, QIODevice* device);
QIODevice* QAudioSink_Start2(QAudioSink* self);
void QAudioSink_Stop(QAudioSink* self);
void QAudioSink_Reset(QAudioSink* self);
void QAudioSink_Suspend(QAudioSink* self);
void QAudioSink_Resume(QAudioSink* self);
void QAudioSink_SetBufferSize(QAudioSink* self, ptrdiff_t bytes);
ptrdiff_t QAudioSink_BufferSize(const QAudioSink* self);
ptrdiff_t QAudioSink_BytesFree(const QAudioSink* self);
long long QAudioSink_ProcessedUSecs(const QAudioSink* self);
long long QAudioSink_ElapsedUSecs(const QAudioSink* self);
int QAudioSink_Error(const QAudioSink* self);
int QAudioSink_State(const QAudioSink* self);
void QAudioSink_SetVolume(QAudioSink* self, double volume);
double QAudioSink_Volume(const QAudioSink* self);
void QAudioSink_StateChanged(QAudioSink* self, int state);
void QAudioSink_connect_StateChanged(QAudioSink* self, intptr_t slot);
struct miqt_string QAudioSink_Tr2(const char* s, const char* c);
struct miqt_string QAudioSink_Tr3(const char* s, const char* c, int n);
2024-11-19 06:29:06 +00:00
void QAudioSink_override_virtual_Event(void* self, intptr_t slot);
bool QAudioSink_virtualbase_Event(void* self, QEvent* event);
void QAudioSink_override_virtual_EventFilter(void* self, intptr_t slot);
bool QAudioSink_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
void QAudioSink_override_virtual_TimerEvent(void* self, intptr_t slot);
void QAudioSink_virtualbase_TimerEvent(void* self, QTimerEvent* event);
void QAudioSink_override_virtual_ChildEvent(void* self, intptr_t slot);
void QAudioSink_virtualbase_ChildEvent(void* self, QChildEvent* event);
void QAudioSink_override_virtual_CustomEvent(void* self, intptr_t slot);
void QAudioSink_virtualbase_CustomEvent(void* self, QEvent* event);
void QAudioSink_override_virtual_ConnectNotify(void* self, intptr_t slot);
void QAudioSink_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
void QAudioSink_override_virtual_DisconnectNotify(void* self, intptr_t slot);
void QAudioSink_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
void QAudioSink_Delete(QAudioSink* self, bool isSubclass);
2024-11-04 10:15:32 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif