4#ifndef QWASMAUDIOOUTPUT_H
5#define QWASMAUDIOOUTPUT_H
18#include <private/qplatformaudiooutput_p.h>
21#include <emscripten/val.h>
22#include <private/qstdweb_p.h>
23#include <private/qwasmaudiosink_p.h>
38 MEDIA_ERR_ABORTED = 1,
41 MEDIA_ERR_SRC_NOT_SUPPORTED
52 void setSource(
const QUrl &
url);
67 void doElementCallbacks();
68 void createAudioElement(
const std::string &
id);
86 emscripten::val m_audio = emscripten::val::undefined();
88 qreal m_currentBufferedValue;
IOBluetoothDevice * device
The QAudioDevice class provides an information about audio devices and their functionality.
\qmltype AudioOutput \instantiates QAudioOutput
\inmodule QtCore \reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
void progressChanged(qint32 position)
void sizeChange(qint32 width, qint32 height)
void bufferingChanged(qint32 percent)
void errorOccured(qint32 code, const QString &message)
void stateChanged(QWasmMediaPlayer::QWasmMediaPlayerState newState)
void statusChanged(QMediaPlayer::MediaStatus status)
QWasmAudioOutput(QAudioOutput *qq)
void durationChanged(qint64 duration)
void newState(QList< State > &states, const char *token, const char *lexem, bool pre)
Combined button and popup list for selecting options.
GLint GLsizei GLsizei height
GLuint GLsizei const GLchar * message
static qreal position(const QQuickItem *item, QQuickAnchors::Anchor anchorLine)
QUrl url("example.com")
[constructor-url-reference]