16#ifndef QAUDIOINPUTALSA_H
17#define QAUDIOINPUTALSA_H
19#include <alsa/asoundlib.h>
21#include <QtCore/qfile.h>
22#include <QtCore/qdebug.h>
23#include <QtCore/qtimer.h>
24#include <QtCore/qstring.h>
25#include <QtCore/qstringlist.h>
26#include <QtCore/qelapsedtimer.h>
27#include <QtCore/qiodevice.h>
29#include <QtMultimedia/qaudio.h>
30#include <QtMultimedia/qaudiodevice.h>
31#include <private/qaudiosystem_p.h>
73 void reset()
override;
99 int checkBytesReady();
100 int xrun_recovery(
int err);
114 unsigned int buffer_time;
115 unsigned int period_time;
116 snd_pcm_uframes_t buffer_frames;
117 snd_pcm_uframes_t period_frames;
119 snd_pcm_format_t pcmformat;
120 snd_pcm_hw_params_t *hwparams;
IOBluetoothDevice * device
qsizetype bytesReady() const override
QAudio::State deviceState
QAudioFormat format() const override
QIODevice * start() override
void setFormat(const QAudioFormat &fmt) override
void setVolume(qreal) override
qreal volume() const override
void setBufferSize(qsizetype value) override
QAudio::Error error() const override
QAudio::State state() const override
qsizetype bufferSize() const override
qint64 processedUSecs() const override
qint64 read(char *data, qint64 len)
\inmodule QtCore \reentrant
QObject * parent() const
Returns a pointer to the parent object.
const char * availableData() const
int availableDataBlockSize() const
void write(char *data, int len)
void readBytes(int bytes)
int bytesOfDataInBuffer() const
State
\value ActiveState Audio data is being processed, this state is set after start() is called and while...
Error
\value NoError No errors have occurred \value OpenError An error occurred opening the audio device \v...
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
QVideoFrameFormat::PixelFormat fmt