Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qwasmaudiosink.cpp File Reference

(3b66501cd9aca143b0f5553fa2ec33508b2541cc)

#include "qwasmaudiosink_p.h"
#include <emscripten.h>
#include <AL/al.h>
#include <AL/alc.h>
#include <QDebug>
#include <QtMath>
#include <QIODevice>
+ Include dependency graph for qwasmaudiosink.cpp:

Go to the source code of this file.

Classes

class  ALData
 
class  QWasmAudioSinkDevice
 

Macros

#define AL_FORMAT_MONO_FLOAT32   0x10010
 
#define AL_FORMAT_STEREO_FLOAT32   0x10011
 

Variables

constexpr unsigned int DEFAULT_BUFFER_DURATION = 50'000
 

Macro Definition Documentation

◆ AL_FORMAT_MONO_FLOAT32

#define AL_FORMAT_MONO_FLOAT32   0x10010

Definition at line 15 of file qwasmaudiosink.cpp.

Referenced by QWasmAudioSink::start(), and QWasmAudioSource::start().

◆ AL_FORMAT_STEREO_FLOAT32

#define AL_FORMAT_STEREO_FLOAT32   0x10011

Definition at line 16 of file qwasmaudiosink.cpp.

Referenced by QWasmAudioSink::start(), and QWasmAudioSource::start().

Variable Documentation

◆ DEFAULT_BUFFER_DURATION

constexpr unsigned int DEFAULT_BUFFER_DURATION = 50'000
constexpr