2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_MULTIMEDIA_GEN_QAUDIOINPUT_H
|
|
|
|
#define MIQT_QT_MULTIMEDIA_GEN_QAUDIOINPUT_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 QAudioDeviceInfo;
|
|
|
|
class QAudioFormat;
|
|
|
|
class QAudioInput;
|
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 QAudioDeviceInfo QAudioDeviceInfo;
|
|
|
|
typedef struct QAudioFormat QAudioFormat;
|
|
|
|
typedef struct QAudioInput QAudioInput;
|
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 QAudioInput_new(QAudioInput** outptr_QAudioInput, QObject** outptr_QObject);
|
|
|
|
void QAudioInput_new2(QAudioDeviceInfo* audioDeviceInfo, QAudioInput** outptr_QAudioInput, QObject** outptr_QObject);
|
|
|
|
void QAudioInput_new3(QAudioFormat* format, QAudioInput** outptr_QAudioInput, QObject** outptr_QObject);
|
|
|
|
void QAudioInput_new4(QAudioFormat* format, QObject* parent, QAudioInput** outptr_QAudioInput, QObject** outptr_QObject);
|
|
|
|
void QAudioInput_new5(QAudioDeviceInfo* audioDeviceInfo, QAudioFormat* format, QAudioInput** outptr_QAudioInput, QObject** outptr_QObject);
|
|
|
|
void QAudioInput_new6(QAudioDeviceInfo* audioDeviceInfo, QAudioFormat* format, QObject* parent, QAudioInput** outptr_QAudioInput, QObject** outptr_QObject);
|
2024-11-04 10:15:32 +00:00
|
|
|
QMetaObject* QAudioInput_MetaObject(const QAudioInput* self);
|
|
|
|
void* QAudioInput_Metacast(QAudioInput* self, const char* param1);
|
|
|
|
struct miqt_string QAudioInput_Tr(const char* s);
|
|
|
|
struct miqt_string QAudioInput_TrUtf8(const char* s);
|
|
|
|
QAudioFormat* QAudioInput_Format(const QAudioInput* self);
|
|
|
|
void QAudioInput_Start(QAudioInput* self, QIODevice* device);
|
|
|
|
QIODevice* QAudioInput_Start2(QAudioInput* self);
|
|
|
|
void QAudioInput_Stop(QAudioInput* self);
|
|
|
|
void QAudioInput_Reset(QAudioInput* self);
|
|
|
|
void QAudioInput_Suspend(QAudioInput* self);
|
|
|
|
void QAudioInput_Resume(QAudioInput* self);
|
|
|
|
void QAudioInput_SetBufferSize(QAudioInput* self, int bytes);
|
|
|
|
int QAudioInput_BufferSize(const QAudioInput* self);
|
|
|
|
int QAudioInput_BytesReady(const QAudioInput* self);
|
|
|
|
int QAudioInput_PeriodSize(const QAudioInput* self);
|
|
|
|
void QAudioInput_SetNotifyInterval(QAudioInput* self, int milliSeconds);
|
|
|
|
int QAudioInput_NotifyInterval(const QAudioInput* self);
|
|
|
|
void QAudioInput_SetVolume(QAudioInput* self, double volume);
|
|
|
|
double QAudioInput_Volume(const QAudioInput* self);
|
|
|
|
long long QAudioInput_ProcessedUSecs(const QAudioInput* self);
|
|
|
|
long long QAudioInput_ElapsedUSecs(const QAudioInput* self);
|
|
|
|
int QAudioInput_Error(const QAudioInput* self);
|
|
|
|
int QAudioInput_State(const QAudioInput* self);
|
|
|
|
void QAudioInput_StateChanged(QAudioInput* self, int state);
|
|
|
|
void QAudioInput_connect_StateChanged(QAudioInput* self, intptr_t slot);
|
|
|
|
void QAudioInput_Notify(QAudioInput* self);
|
|
|
|
void QAudioInput_connect_Notify(QAudioInput* self, intptr_t slot);
|
|
|
|
struct miqt_string QAudioInput_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QAudioInput_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QAudioInput_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QAudioInput_TrUtf83(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QAudioInput_override_virtual_Event(void* self, intptr_t slot);
|
|
|
|
bool QAudioInput_virtualbase_Event(void* self, QEvent* event);
|
|
|
|
void QAudioInput_override_virtual_EventFilter(void* self, intptr_t slot);
|
|
|
|
bool QAudioInput_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
|
|
|
|
void QAudioInput_override_virtual_TimerEvent(void* self, intptr_t slot);
|
|
|
|
void QAudioInput_virtualbase_TimerEvent(void* self, QTimerEvent* event);
|
|
|
|
void QAudioInput_override_virtual_ChildEvent(void* self, intptr_t slot);
|
|
|
|
void QAudioInput_virtualbase_ChildEvent(void* self, QChildEvent* event);
|
|
|
|
void QAudioInput_override_virtual_CustomEvent(void* self, intptr_t slot);
|
|
|
|
void QAudioInput_virtualbase_CustomEvent(void* self, QEvent* event);
|
|
|
|
void QAudioInput_override_virtual_ConnectNotify(void* self, intptr_t slot);
|
|
|
|
void QAudioInput_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QAudioInput_override_virtual_DisconnectNotify(void* self, intptr_t slot);
|
|
|
|
void QAudioInput_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QAudioInput_Delete(QAudioInput* self, bool isSubclass);
|
2024-11-04 10:15:32 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|