4#ifndef QNXAUDIOOUTPUT_H
5#define QNXAUDIOOUTPUT_H
18#include "private/qaudiosystem_p.h"
22#include <QElapsedTimer>
25#include <QSocketNotifier>
27#include <sys/asoundlib.h>
28#include <sys/neutrino.h>
45 void reset()
override;
62 void pcmNotifierActivated(
int socket);
69 void addPcmEventFilter();
70 void createPcmNotifiers();
71 void destroyPcmNotifiers();
74 void resumeInternal();
94 int m_requestedBufferSize;
The QAudioDevice class provides an information about audio devices and their functionality.
\inmodule QtCore \reentrant
QObject * parent() const
Returns a pointer to the parent object.
QAudio::State state() const override
qint64 pushData(const char *data, qint64 len)
void setBufferSize(qsizetype) override
qreal volume() const override
void setFormat(const QAudioFormat &format) override
qsizetype bufferSize() const override
qsizetype bytesFree() const override
QIODevice * start() override
QAudioFormat format() const override
void setVolume(qreal volume) override
QAudio::Error error() const override
qint64 processedUSecs() const override
qint64 writeData(const char *data, qint64 len)
Writes up to maxSize bytes from data to the device.
bool isSequential() const override
Returns true if this device is sequential; otherwise returns false.
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.
std::unique_ptr< snd_pcm_t, HandleDeleter > HandleUniquePtr
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLint GLsizei GLsizei GLenum format
GLsizei GLsizei GLchar * source
QAudio::State suspendState(const snd_pcm_event_t &event)
QT_BEGIN_NAMESPACE typedef uchar * output