mirror of
https://github.com/mappu/miqt.git
synced 2025-02-01 19:10:21 +00:00
106 lines
4.8 KiB
C++
106 lines
4.8 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT6_MULTIMEDIA_GEN_QAUDIODECODER_H
|
|
#define MIQT_QT6_MULTIMEDIA_GEN_QAUDIODECODER_H
|
|
|
|
#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 QAudioDecoder;
|
|
class QAudioFormat;
|
|
class QChildEvent;
|
|
class QEvent;
|
|
class QIODevice;
|
|
class QMetaMethod;
|
|
class QMetaObject;
|
|
class QObject;
|
|
class QTimerEvent;
|
|
class QUrl;
|
|
#else
|
|
typedef struct QAudioBuffer QAudioBuffer;
|
|
typedef struct QAudioDecoder QAudioDecoder;
|
|
typedef struct QAudioFormat QAudioFormat;
|
|
typedef struct QChildEvent QChildEvent;
|
|
typedef struct QEvent QEvent;
|
|
typedef struct QIODevice QIODevice;
|
|
typedef struct QMetaMethod QMetaMethod;
|
|
typedef struct QMetaObject QMetaObject;
|
|
typedef struct QObject QObject;
|
|
typedef struct QTimerEvent QTimerEvent;
|
|
typedef struct QUrl QUrl;
|
|
#endif
|
|
|
|
QAudioDecoder* QAudioDecoder_new();
|
|
QAudioDecoder* QAudioDecoder_new2(QObject* parent);
|
|
void QAudioDecoder_virtbase(QAudioDecoder* src, QObject** outptr_QObject);
|
|
QMetaObject* QAudioDecoder_metaObject(const QAudioDecoder* self);
|
|
void* QAudioDecoder_metacast(QAudioDecoder* self, const char* param1);
|
|
struct miqt_string QAudioDecoder_tr(const char* s);
|
|
bool QAudioDecoder_isSupported(const QAudioDecoder* self);
|
|
bool QAudioDecoder_isDecoding(const QAudioDecoder* self);
|
|
QUrl* QAudioDecoder_source(const QAudioDecoder* self);
|
|
void QAudioDecoder_setSource(QAudioDecoder* self, QUrl* fileName);
|
|
QIODevice* QAudioDecoder_sourceDevice(const QAudioDecoder* self);
|
|
void QAudioDecoder_setSourceDevice(QAudioDecoder* self, QIODevice* device);
|
|
QAudioFormat* QAudioDecoder_audioFormat(const QAudioDecoder* self);
|
|
void QAudioDecoder_setAudioFormat(QAudioDecoder* self, QAudioFormat* format);
|
|
int QAudioDecoder_error(const QAudioDecoder* self);
|
|
struct miqt_string QAudioDecoder_errorString(const QAudioDecoder* self);
|
|
QAudioBuffer* QAudioDecoder_read(const QAudioDecoder* self);
|
|
bool QAudioDecoder_bufferAvailable(const QAudioDecoder* self);
|
|
long long QAudioDecoder_position(const QAudioDecoder* self);
|
|
long long QAudioDecoder_duration(const QAudioDecoder* self);
|
|
void QAudioDecoder_start(QAudioDecoder* self);
|
|
void QAudioDecoder_stop(QAudioDecoder* self);
|
|
void QAudioDecoder_bufferAvailableChanged(QAudioDecoder* self, bool param1);
|
|
void QAudioDecoder_connect_bufferAvailableChanged(QAudioDecoder* self, intptr_t slot);
|
|
void QAudioDecoder_bufferReady(QAudioDecoder* self);
|
|
void QAudioDecoder_connect_bufferReady(QAudioDecoder* self, intptr_t slot);
|
|
void QAudioDecoder_finished(QAudioDecoder* self);
|
|
void QAudioDecoder_connect_finished(QAudioDecoder* self, intptr_t slot);
|
|
void QAudioDecoder_isDecodingChanged(QAudioDecoder* self, bool param1);
|
|
void QAudioDecoder_connect_isDecodingChanged(QAudioDecoder* self, intptr_t slot);
|
|
void QAudioDecoder_formatChanged(QAudioDecoder* self, QAudioFormat* format);
|
|
void QAudioDecoder_connect_formatChanged(QAudioDecoder* self, intptr_t slot);
|
|
void QAudioDecoder_errorWithError(QAudioDecoder* self, int error);
|
|
void QAudioDecoder_connect_errorWithError(QAudioDecoder* self, intptr_t slot);
|
|
void QAudioDecoder_sourceChanged(QAudioDecoder* self);
|
|
void QAudioDecoder_connect_sourceChanged(QAudioDecoder* self, intptr_t slot);
|
|
void QAudioDecoder_positionChanged(QAudioDecoder* self, long long position);
|
|
void QAudioDecoder_connect_positionChanged(QAudioDecoder* self, intptr_t slot);
|
|
void QAudioDecoder_durationChanged(QAudioDecoder* self, long long duration);
|
|
void QAudioDecoder_connect_durationChanged(QAudioDecoder* self, intptr_t slot);
|
|
struct miqt_string QAudioDecoder_tr2(const char* s, const char* c);
|
|
struct miqt_string QAudioDecoder_tr3(const char* s, const char* c, int n);
|
|
bool QAudioDecoder_override_virtual_event(void* self, intptr_t slot);
|
|
bool QAudioDecoder_virtualbase_event(void* self, QEvent* event);
|
|
bool QAudioDecoder_override_virtual_eventFilter(void* self, intptr_t slot);
|
|
bool QAudioDecoder_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event);
|
|
bool QAudioDecoder_override_virtual_timerEvent(void* self, intptr_t slot);
|
|
void QAudioDecoder_virtualbase_timerEvent(void* self, QTimerEvent* event);
|
|
bool QAudioDecoder_override_virtual_childEvent(void* self, intptr_t slot);
|
|
void QAudioDecoder_virtualbase_childEvent(void* self, QChildEvent* event);
|
|
bool QAudioDecoder_override_virtual_customEvent(void* self, intptr_t slot);
|
|
void QAudioDecoder_virtualbase_customEvent(void* self, QEvent* event);
|
|
bool QAudioDecoder_override_virtual_connectNotify(void* self, intptr_t slot);
|
|
void QAudioDecoder_virtualbase_connectNotify(void* self, QMetaMethod* signal);
|
|
bool QAudioDecoder_override_virtual_disconnectNotify(void* self, intptr_t slot);
|
|
void QAudioDecoder_virtualbase_disconnectNotify(void* self, QMetaMethod* signal);
|
|
void QAudioDecoder_delete(QAudioDecoder* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|