miqt/qt/multimedia/gen_qaudiodecodercontrol.h

82 lines
4.1 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT_MULTIMEDIA_GEN_QAUDIODECODERCONTROL_H
#define MIQT_QT_MULTIMEDIA_GEN_QAUDIODECODERCONTROL_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 QAudioBuffer;
class QAudioDecoderControl;
class QAudioFormat;
class QIODevice;
2024-11-19 06:29:06 +00:00
class QMediaControl;
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
#else
typedef struct QAudioBuffer QAudioBuffer;
typedef struct QAudioDecoderControl QAudioDecoderControl;
typedef struct QAudioFormat QAudioFormat;
typedef struct QIODevice QIODevice;
2024-11-19 06:29:06 +00:00
typedef struct QMediaControl QMediaControl;
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
#endif
2024-12-07 04:15:57 +00:00
void QAudioDecoderControl_virtbase(QAudioDecoderControl* src, QMediaControl** outptr_QMediaControl);
2024-11-04 10:15:32 +00:00
QMetaObject* QAudioDecoderControl_MetaObject(const QAudioDecoderControl* self);
void* QAudioDecoderControl_Metacast(QAudioDecoderControl* self, const char* param1);
struct miqt_string QAudioDecoderControl_Tr(const char* s);
struct miqt_string QAudioDecoderControl_TrUtf8(const char* s);
int QAudioDecoderControl_State(const QAudioDecoderControl* self);
struct miqt_string QAudioDecoderControl_SourceFilename(const QAudioDecoderControl* self);
void QAudioDecoderControl_SetSourceFilename(QAudioDecoderControl* self, struct miqt_string fileName);
QIODevice* QAudioDecoderControl_SourceDevice(const QAudioDecoderControl* self);
void QAudioDecoderControl_SetSourceDevice(QAudioDecoderControl* self, QIODevice* device);
void QAudioDecoderControl_Start(QAudioDecoderControl* self);
void QAudioDecoderControl_Stop(QAudioDecoderControl* self);
QAudioFormat* QAudioDecoderControl_AudioFormat(const QAudioDecoderControl* self);
void QAudioDecoderControl_SetAudioFormat(QAudioDecoderControl* self, QAudioFormat* format);
QAudioBuffer* QAudioDecoderControl_Read(QAudioDecoderControl* self);
bool QAudioDecoderControl_BufferAvailable(const QAudioDecoderControl* self);
long long QAudioDecoderControl_Position(const QAudioDecoderControl* self);
long long QAudioDecoderControl_Duration(const QAudioDecoderControl* self);
void QAudioDecoderControl_StateChanged(QAudioDecoderControl* self, int newState);
void QAudioDecoderControl_connect_StateChanged(QAudioDecoderControl* self, intptr_t slot);
void QAudioDecoderControl_FormatChanged(QAudioDecoderControl* self, QAudioFormat* format);
void QAudioDecoderControl_connect_FormatChanged(QAudioDecoderControl* self, intptr_t slot);
void QAudioDecoderControl_SourceChanged(QAudioDecoderControl* self);
void QAudioDecoderControl_connect_SourceChanged(QAudioDecoderControl* self, intptr_t slot);
void QAudioDecoderControl_Error(QAudioDecoderControl* self, int error, struct miqt_string errorString);
void QAudioDecoderControl_connect_Error(QAudioDecoderControl* self, intptr_t slot);
void QAudioDecoderControl_BufferReady(QAudioDecoderControl* self);
void QAudioDecoderControl_connect_BufferReady(QAudioDecoderControl* self, intptr_t slot);
void QAudioDecoderControl_BufferAvailableChanged(QAudioDecoderControl* self, bool available);
void QAudioDecoderControl_connect_BufferAvailableChanged(QAudioDecoderControl* self, intptr_t slot);
void QAudioDecoderControl_Finished(QAudioDecoderControl* self);
void QAudioDecoderControl_connect_Finished(QAudioDecoderControl* self, intptr_t slot);
void QAudioDecoderControl_PositionChanged(QAudioDecoderControl* self, long long position);
void QAudioDecoderControl_connect_PositionChanged(QAudioDecoderControl* self, intptr_t slot);
void QAudioDecoderControl_DurationChanged(QAudioDecoderControl* self, long long duration);
void QAudioDecoderControl_connect_DurationChanged(QAudioDecoderControl* self, intptr_t slot);
struct miqt_string QAudioDecoderControl_Tr2(const char* s, const char* c);
struct miqt_string QAudioDecoderControl_Tr3(const char* s, const char* c, int n);
struct miqt_string QAudioDecoderControl_TrUtf82(const char* s, const char* c);
struct miqt_string QAudioDecoderControl_TrUtf83(const char* s, const char* c, int n);
2024-11-19 06:29:06 +00:00
void QAudioDecoderControl_Delete(QAudioDecoderControl* self, bool isSubclass);
2024-11-04 10:15:32 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif