Qt 4.8
|
#include <qaudiooutput_alsa_p.h>
Signals | |
void | processMore () |
Signals inherited from QAbstractAudioOutput | |
void | notify () |
This signal is emitted when x ms of audio data has been processed the interval set by setNotifyInterval(x). More... | |
void | stateChanged (QAudio::State) |
This signal is emitted when the device state has changed. More... | |
Signals inherited from QObject | |
void | destroyed (QObject *=0) |
This signal is emitted immediately before the object obj is destroyed, and can not be blocked. More... | |
Public Functions | |
void | audioDeviceError () |
void | audioDeviceIdle () |
void | audioDeviceStop () |
void | audioThreadDrain () |
void | audioThreadStart () |
void | audioThreadStop () |
int | bufferSize () const |
Returns the audio buffer size in bytes. More... | |
int | bufferSize () const |
Returns the audio buffer size in bytes. More... | |
int | bufferSize () const |
Returns the audio buffer size in bytes. More... | |
int | bytesFree () const |
Returns the free space available in bytes in the audio buffer. More... | |
int | bytesFree () const |
Returns the free space available in bytes in the audio buffer. More... | |
int | bytesFree () const |
Returns the free space available in bytes in the audio buffer. More... | |
void | close () |
qint64 | elapsedUSecs () const |
Returns the milliseconds since start() was called, including time in Idle and suspend states. More... | |
qint64 | elapsedUSecs () const |
Returns the milliseconds since start() was called, including time in Idle and suspend states. More... | |
qint64 | elapsedUSecs () const |
Returns the milliseconds since start() was called, including time in Idle and suspend states. More... | |
QAudio::Error | error () const |
Returns the error state. More... | |
QAudio::Error | error () const |
Returns the error state. More... | |
QAudio::Error | error () const |
Returns the error state. More... | |
QAudioFormat | format () const |
Returns the QAudioFormat being used. More... | |
QAudioFormat | format () const |
Returns the QAudioFormat being used. More... | |
QAudioFormat | format () const |
Returns the QAudioFormat being used. More... | |
int | notifyInterval () const |
Returns the notify interval in milliseconds. More... | |
int | notifyInterval () const |
Returns the notify interval in milliseconds. More... | |
int | notifyInterval () const |
Returns the notify interval in milliseconds. More... | |
bool | open () |
int | periodSize () const |
Returns the period size in bytes. More... | |
int | periodSize () const |
Returns the period size in bytes. More... | |
int | periodSize () const |
Returns the period size in bytes. More... | |
qint64 | processedUSecs () const |
Returns the amount of audio data processed since start() was called in milliseconds. More... | |
qint64 | processedUSecs () const |
Returns the amount of audio data processed since start() was called in milliseconds. More... | |
qint64 | processedUSecs () const |
Returns the amount of audio data processed since start() was called in milliseconds. More... | |
QAudioOutputPrivate (const QByteArray &device, const QAudioFormat &audioFormat) | |
QAudioOutputPrivate (const QByteArray &device, const QAudioFormat &audioFormat) | |
QAudioOutputPrivate (const QByteArray &device, const QAudioFormat &format) | |
void | reset () |
Drops all audio data in the buffers, resets buffers to zero. More... | |
void | reset () |
Drops all audio data in the buffers, resets buffers to zero. More... | |
void | reset () |
Drops all audio data in the buffers, resets buffers to zero. More... | |
void | resume () |
Resumes processing audio data after a suspend() More... | |
void | resume () |
Resumes processing audio data after a suspend() More... | |
void | resume () |
Resumes processing audio data after a suspend() More... | |
void | setBufferSize (int value) |
Sets the audio buffer size to value in bytes. More... | |
void | setBufferSize (int value) |
Sets the audio buffer size to value in bytes. More... | |
void | setBufferSize (int value) |
Sets the audio buffer size to value in bytes. More... | |
void | setNotifyInterval (int milliSeconds) |
Sets the interval for notify() signal to be emitted. More... | |
void | setNotifyInterval (int milliSeconds) |
Sets the interval for notify() signal to be emitted. More... | |
void | setNotifyInterval (int milliSeconds) |
Sets the interval for notify() signal to be emitted. More... | |
QIODevice * | start (QIODevice *device=0) |
Uses the device as the QIODevice to transfer data. More... | |
QIODevice * | start (QIODevice *device=0) |
Uses the device as the QIODevice to transfer data. More... | |
QIODevice * | start (QIODevice *device) |
Uses the device as the QIODevice to transfer data. More... | |
void | startTimers () |
QAudio::State | state () const |
Returns the state of audio processing. More... | |
QAudio::State | state () const |
Returns the state of audio processing. More... | |
QAudio::State | state () const |
Returns the state of audio processing. More... | |
void | stop () |
Stops the audio output. More... | |
void | stop () |
Stops the audio output. More... | |
void | stop () |
Stops the audio output. More... | |
void | stopTimers () |
void | suspend () |
Stops processing audio data, preserving buffered audio data. More... | |
void | suspend () |
Stops processing audio data, preserving buffered audio data. More... | |
void | suspend () |
Stops processing audio data, preserving buffered audio data. More... | |
qint64 | write (const char *data, qint64 len) |
qint64 | write (const char *data, qint64 len) |
~QAudioOutputPrivate () | |
~QAudioOutputPrivate () | |
~QAudioOutputPrivate () | |
Public Functions inherited from QObject | |
bool | blockSignals (bool b) |
If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it). More... | |
const QObjectList & | children () const |
Returns a list of child objects. More... | |
bool | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
bool | disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0) |
bool | disconnect (const QObject *receiver, const char *member=0) |
void | dumpObjectInfo () |
Dumps information about signal connections, etc. More... | |
void | dumpObjectTree () |
Dumps a tree of children to the debug output. More... | |
QList< QByteArray > | dynamicPropertyNames () const |
Returns the names of all properties that were dynamically added to the object using setProperty(). More... | |
virtual bool | event (QEvent *) |
This virtual function receives events to an object and should return true if the event e was recognized and processed. More... | |
virtual bool | eventFilter (QObject *, QEvent *) |
Filters events if this object has been installed as an event filter for the watched object. More... | |
template<typename T > | |
T | findChild (const QString &aName=QString()) const |
Returns the child of this object that can be cast into type T and that is called name, or 0 if there is no such object. More... | |
template<typename T > | |
QList< T > | findChildren (const QString &aName=QString()) const |
Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects. More... | |
template<typename T > | |
QList< T > | findChildren (const QRegExp &re) const |
bool | inherits (const char *classname) const |
Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false. More... | |
void | installEventFilter (QObject *) |
Installs an event filter filterObj on this object. More... | |
bool | isWidgetType () const |
Returns true if the object is a widget; otherwise returns false. More... | |
void | killTimer (int id) |
Kills the timer with timer identifier, id. More... | |
virtual const QMetaObject * | metaObject () const |
Returns a pointer to the meta-object of this object. More... | |
void | moveToThread (QThread *thread) |
Changes the thread affinity for this object and its children. More... | |
QString | objectName () const |
QObject * | parent () const |
Returns a pointer to the parent object. More... | |
QVariant | property (const char *name) const |
Returns the value of the object's name property. More... | |
Q_INVOKABLE | QObject (QObject *parent=0) |
Constructs an object with parent object parent. More... | |
void | removeEventFilter (QObject *) |
Removes an event filter object obj from this object. More... | |
void | setObjectName (const QString &name) |
void | setParent (QObject *) |
Makes the object a child of parent. More... | |
bool | setProperty (const char *name, const QVariant &value) |
Sets the value of the object's name property to value. More... | |
void | setUserData (uint id, QObjectUserData *data) |
bool | signalsBlocked () const |
Returns true if signals are blocked; otherwise returns false. More... | |
int | startTimer (int interval) |
Starts a timer and returns a timer identifier, or returns zero if it could not start a timer. More... | |
QThread * | thread () const |
Returns the thread in which the object lives. More... | |
QObjectUserData * | userData (uint id) const |
virtual | ~QObject () |
Destroys the object, deleting all its child objects. More... | |
Public Variables | |
QtMultimediaInternal::QAudioOutputBuffer * | audioBuffer |
AudioDeviceID | audioDeviceId |
QAbstractAudioDeviceInfo * | audioDeviceInfo |
QAudioFormat | audioFormat |
QIODevice * | audioIO |
QIODevice * | audioSource |
QAtomicInt | audioThreadState |
AudioUnit | audioUnit |
Float64 | clockFrequency |
AudioStreamBasicDescription | deviceFormat |
QAudio::State | deviceState |
QAudio::Error | errorCode |
QAudio::Error | errorState |
int | internalBufferSize |
QTimer * | intervalTimer |
bool | isOpen |
QMutex | mutex |
int | periodSizeBytes |
QAudioFormat | settings |
UInt64 | startTime |
QAudio::State | stateCode |
AudioStreamBasicDescription | streamFormat |
QWaitCondition | threadFinished |
qint64 | totalFrames |
Private Types | |
enum | { Running, Draining, Stopped } |
Private Slots | |
bool | deviceReady () |
bool | deviceReady () |
void | deviceStopped () |
void | feedback () |
void | feedback () |
void | inputReady () |
void | updateAvailable () |
void | userFeed () |
Private Functions | |
WAVEHDR * | allocateBlocks (int size, int count) |
void | close () |
void | close () |
void | freeBlocks (WAVEHDR *blockArray) |
bool | open () |
bool | open () |
int | setFormat () |
int | xrun_recovery (int err) |
Static Private Functions | |
static void | async_callback (snd_async_handler_t *ahandler) |
static OSStatus | renderCallback (void *inRefCon, AudioUnitRenderActionFlags *ioActionFlags, const AudioTimeStamp *inTimeStamp, UInt32 inBusNumber, UInt32 inNumberFrames, AudioBufferList *ioData) |
static void QT_WIN_CALLBACK | waveOutProc (HWAVEOUT hWaveOut, UINT uMsg, DWORD_PTR dwInstance, DWORD_PTR dwParam1, DWORD_PTR dwParam2) |
Properties | |
snd_pcm_access_t | access |
snd_async_handler_t * | ahandler |
char * | audioBuffer |
snd_pcm_uframes_t | buffer_frames |
qint32 | buffer_size |
int | buffer_size |
unsigned int | buffer_time |
int | bytesAvailable |
QElapsedTimer | clockStamp |
qint64 | elapsedTimeOffset |
volatile bool | finished |
snd_pcm_t * | handle |
WAVEHDR | header |
HWAVEOUT | hWaveOut |
snd_pcm_hw_params_t * | hwparams |
int | intervalTime |
QByteArray | m_device |
bool | opened |
snd_pcm_format_t | pcmformat |
snd_pcm_uframes_t | period_frames |
qint32 | period_size |
int | period_size |
unsigned int | period_time |
bool | pullMode |
MMRESULT | result |
bool | resuming |
QTimer * | timer |
QTime | timeStamp |
QElapsedTimer | timeStamp |
snd_timestamp_t * | timestamp |
QTime | timeStampOpened |
qint64 | totalTimeValue |
WAVEHDR * | waveBlocks |
int | waveCurrentBlock |
volatile int | waveFreeBlockCount |
WAVEFORMATEX | wfx |
Friends | |
class | OutputPrivate |
Additional Inherited Members | |
Public Slots inherited from QObject | |
void | deleteLater () |
Schedules this object for deletion. More... | |
Static Public Functions inherited from QObject | |
static bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection) |
Creates a connection of the given type from the signal in the sender object to the method in the receiver object. More... | |
static bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection) |
static bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
Disconnects signal in object sender from method in object receiver. More... | |
static bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member) |
static uint | registerUserData () |
static QString | tr (const char *sourceText, const char *comment=0, int n=-1) |
static QString | trUtf8 (const char *sourceText, const char *comment=0, int n=-1) |
Static Public Variables inherited from QObject | |
static const QMetaObject | staticMetaObject |
This variable stores the meta-object for the class. More... | |
Protected Functions inherited from QObject | |
virtual void | childEvent (QChildEvent *) |
This event handler can be reimplemented in a subclass to receive child events. More... | |
virtual void | connectNotify (const char *signal) |
This virtual function is called when something has been connected to signal in this object. More... | |
virtual void | customEvent (QEvent *) |
This event handler can be reimplemented in a subclass to receive custom events. More... | |
virtual void | disconnectNotify (const char *signal) |
This virtual function is called when something has been disconnected from signal in this object. More... | |
QObject (QObjectPrivate &dd, QObject *parent=0) | |
int | receivers (const char *signal) const |
Returns the number of receivers connected to the signal. More... | |
QObject * | sender () const |
Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; otherwise it returns 0. More... | |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *) |
This event handler can be reimplemented in a subclass to receive timer events for the object. More... | |
Protected Variables inherited from QObject | |
QScopedPointer< QObjectData > | d_ptr |
Static Protected Variables inherited from QObject | |
static const QMetaObject | staticQtMetaObject |
Related Functions inherited from QObject | |
T | qFindChildqFindChildren (const QObject *obj, const QString &name)() |
QList< T > | qFindChildrenqFindChildren (const QObject *obj, const QString &name)() |
QList< T > | qFindChildrenqFindChildren (const QObject *obj, const QRegExp ®Exp)() |
T * | qobject_cast (QObject *object) |
QObjectList | |
void * | qt_find_obj_child (QObject *parent, const char *type, const QString &name) |
Returns a pointer to the object named name that inherits type and with a given parent. More... | |
Definition at line 74 of file qaudiooutput_alsa_p.h.
|
private |
QAudioOutputPrivate::QAudioOutputPrivate | ( | const QByteArray & | device, |
const QAudioFormat & | audioFormat | ||
) |
Definition at line 61 of file qaudiooutput_alsa_p.cpp.
QAudioOutputPrivate::~QAudioOutputPrivate | ( | ) |
Definition at line 91 of file qaudiooutput_alsa_p.cpp.
QAudioOutputPrivate::QAudioOutputPrivate | ( | const QByteArray & | device, |
const QAudioFormat & | format | ||
) |
QAudioOutputPrivate::~QAudioOutputPrivate | ( | ) |
QAudioOutputPrivate::QAudioOutputPrivate | ( | const QByteArray & | device, |
const QAudioFormat & | audioFormat | ||
) |
QAudioOutputPrivate::~QAudioOutputPrivate | ( | ) |
|
private |
Definition at line 167 of file qaudiooutput_win32_p.cpp.
Referenced by freeBlocks().
|
staticprivate |
Definition at line 109 of file qaudiooutput_alsa_p.cpp.
Referenced by open().
void QAudioOutputPrivate::audioDeviceError | ( | ) |
Definition at line 607 of file qaudiooutput_mac_p.cpp.
Referenced by renderCallback().
void QAudioOutputPrivate::audioDeviceIdle | ( | ) |
Definition at line 595 of file qaudiooutput_mac_p.cpp.
Referenced by renderCallback().
void QAudioOutputPrivate::audioDeviceStop | ( | ) |
Definition at line 588 of file qaudiooutput_mac_p.cpp.
Referenced by renderCallback().
void QAudioOutputPrivate::audioThreadDrain | ( | ) |
Definition at line 581 of file qaudiooutput_mac_p.cpp.
void QAudioOutputPrivate::audioThreadStart | ( | ) |
Definition at line 567 of file qaudiooutput_mac_p.cpp.
void QAudioOutputPrivate::audioThreadStop | ( | ) |
Definition at line 574 of file qaudiooutput_mac_p.cpp.
|
virtual |
Returns the audio buffer size in bytes.
Implements QAbstractAudioOutput.
|
virtual |
Returns the audio buffer size in bytes.
Implements QAbstractAudioOutput.
Definition at line 584 of file qaudiooutput_alsa_p.cpp.
Referenced by freeBlocks().
|
virtual |
Returns the audio buffer size in bytes.
Implements QAbstractAudioOutput.
|
virtual |
Returns the free space available in bytes in the audio buffer.
Implements QAbstractAudioOutput.
|
virtual |
Returns the free space available in bytes in the audio buffer.
Implements QAbstractAudioOutput.
Definition at line 518 of file qaudiooutput_alsa_p.cpp.
Referenced by deviceReady(), freeBlocks(), open(), updateAvailable(), userFeed(), and write().
|
virtual |
Returns the free space available in bytes in the audio buffer.
Implements QAbstractAudioOutput.
void QAudioOutputPrivate::close | ( | ) |
|
private |
|
private |
Definition at line 500 of file qaudiooutput_alsa_p.cpp.
Referenced by deviceReady(), freeBlocks(), start(), stop(), write(), xrun_recovery(), and ~QAudioOutputPrivate().
|
privateslot |
|
privateslot |
Definition at line 674 of file qaudiooutput_alsa_p.cpp.
Referenced by freeBlocks(), and userFeed().
|
privateslot |
Definition at line 633 of file qaudiooutput_mac_p.cpp.
|
virtual |
Returns the milliseconds since start() was called, including time in Idle and suspend states.
Implements QAbstractAudioOutput.
|
virtual |
Returns the milliseconds since start() was called, including time in Idle and suspend states.
Implements QAbstractAudioOutput.
Definition at line 741 of file qaudiooutput_alsa_p.cpp.
Referenced by freeBlocks().
|
virtual |
Returns the milliseconds since start() was called, including time in Idle and suspend states.
Implements QAbstractAudioOutput.
|
virtual |
Returns the error state.
Implements QAbstractAudioOutput.
|
virtual |
Returns the error state.
Implements QAbstractAudioOutput.
Definition at line 99 of file qaudiooutput_alsa_p.cpp.
Referenced by freeBlocks().
|
virtual |
Returns the error state.
Implements QAbstractAudioOutput.
|
privateslot |
|
privateslot |
Definition at line 659 of file qaudiooutput_alsa_p.cpp.
Referenced by async_callback(), freeBlocks(), and waveOutProc().
|
virtual |
Returns the QAudioFormat being used.
Implements QAbstractAudioOutput.
|
virtual |
Returns the QAudioFormat being used.
Implements QAbstractAudioOutput.
Definition at line 630 of file qaudiooutput_alsa_p.cpp.
Referenced by freeBlocks().
|
virtual |
Returns the QAudioFormat being used.
Implements QAbstractAudioOutput.
|
private |
Definition at line 189 of file qaudiooutput_win32_p.cpp.
|
privateslot |
Definition at line 639 of file qaudiooutput_mac_p.cpp.
|
virtual |
Returns the notify interval in milliseconds.
Implements QAbstractAudioOutput.
|
virtual |
Returns the notify interval in milliseconds.
Implements QAbstractAudioOutput.
Definition at line 594 of file qaudiooutput_alsa_p.cpp.
Referenced by freeBlocks().
|
virtual |
Returns the notify interval in milliseconds.
Implements QAbstractAudioOutput.
bool QAudioOutputPrivate::open | ( | ) |
|
private |
|
private |
Definition at line 267 of file qaudiooutput_alsa_p.cpp.
Referenced by freeBlocks(), start(), and xrun_recovery().
|
virtual |
Returns the period size in bytes.
Implements QAbstractAudioOutput.
|
virtual |
Returns the period size in bytes.
Implements QAbstractAudioOutput.
Definition at line 573 of file qaudiooutput_alsa_p.cpp.
Referenced by freeBlocks().
|
virtual |
Returns the period size in bytes.
Implements QAbstractAudioOutput.
|
virtual |
Returns the amount of audio data processed since start() was called in milliseconds.
Implements QAbstractAudioOutput.
|
virtual |
Returns the amount of audio data processed since start() was called in milliseconds.
Implements QAbstractAudioOutput.
Definition at line 599 of file qaudiooutput_alsa_p.cpp.
Referenced by freeBlocks().
|
virtual |
Returns the amount of audio data processed since start() was called in milliseconds.
Implements QAbstractAudioOutput.
|
signal |
|
staticprivate |
Definition at line 653 of file qaudiooutput_mac_p.cpp.
|
virtual |
Drops all audio data in the buffers, resets buffers to zero.
Implements QAbstractAudioOutput.
|
virtual |
Drops all audio data in the buffers, resets buffers to zero.
Implements QAbstractAudioOutput.
Definition at line 749 of file qaudiooutput_alsa_p.cpp.
Referenced by freeBlocks(), and xrun_recovery().
|
virtual |
Drops all audio data in the buffers, resets buffers to zero.
Implements QAbstractAudioOutput.
|
virtual |
Resumes processing audio data after a suspend()
Implements QAbstractAudioOutput.
|
virtual |
Resumes processing audio data after a suspend()
Implements QAbstractAudioOutput.
Definition at line 604 of file qaudiooutput_alsa_p.cpp.
Referenced by freeBlocks().
|
virtual |
Resumes processing audio data after a suspend()
Implements QAbstractAudioOutput.
|
virtual |
Sets the audio buffer size to value in bytes.
Implements QAbstractAudioOutput.
|
virtual |
Sets the audio buffer size to value in bytes.
Implements QAbstractAudioOutput.
Definition at line 578 of file qaudiooutput_alsa_p.cpp.
Referenced by freeBlocks().
|
virtual |
Sets the audio buffer size to value in bytes.
Implements QAbstractAudioOutput.
|
private |
Definition at line 156 of file qaudiooutput_alsa_p.cpp.
Referenced by open().
|
virtual |
Sets the interval for notify() signal to be emitted.
This is based on the ms of audio data processed not on actual real-time. The resolution of the timer is platform specific.
Implements QAbstractAudioOutput.
|
virtual |
Sets the interval for notify() signal to be emitted.
This is based on the ms of audio data processed not on actual real-time. The resolution of the timer is platform specific.
Implements QAbstractAudioOutput.
Definition at line 589 of file qaudiooutput_alsa_p.cpp.
Referenced by freeBlocks().
|
virtual |
Sets the interval for notify() signal to be emitted.
This is based on the ms of audio data processed not on actual real-time. The resolution of the timer is platform specific.
Implements QAbstractAudioOutput.
Uses the device as the QIODevice to transfer data.
If device is null then the class creates an internal QIODevice. Returns a pointer to the QIODevice being used to handle the data transfer. This QIODevice can be used to write() audio data directly. Passing a QIODevice allows the data to be transferred without any extra code.
Implements QAbstractAudioOutput.
Uses the device as the QIODevice to transfer data.
If device is null then the class creates an internal QIODevice. Returns a pointer to the QIODevice being used to handle the data transfer. This QIODevice can be used to write() audio data directly. Passing a QIODevice allows the data to be transferred without any extra code.
Implements QAbstractAudioOutput.
Definition at line 216 of file qaudiooutput_alsa_p.cpp.
Referenced by freeBlocks().
Uses the device as the QIODevice to transfer data.
If device is null then the class creates an internal QIODevice. Returns a pointer to the QIODevice being used to handle the data transfer. This QIODevice can be used to write() audio data directly. Passing a QIODevice allows the data to be transferred without any extra code.
Implements QAbstractAudioOutput.
void QAudioOutputPrivate::startTimers | ( | ) |
Definition at line 619 of file qaudiooutput_mac_p.cpp.
|
virtual |
Returns the state of audio processing.
Implements QAbstractAudioOutput.
|
virtual |
Returns the state of audio processing.
Implements QAbstractAudioOutput.
Definition at line 104 of file qaudiooutput_alsa_p.cpp.
Referenced by freeBlocks().
|
virtual |
Returns the state of audio processing.
Implements QAbstractAudioOutput.
|
virtual |
Stops the audio output.
Implements QAbstractAudioOutput.
|
virtual |
Stops the audio output.
Implements QAbstractAudioOutput.
Definition at line 257 of file qaudiooutput_alsa_p.cpp.
Referenced by freeBlocks(), and reset().
|
virtual |
Stops the audio output.
Implements QAbstractAudioOutput.
void QAudioOutputPrivate::stopTimers | ( | ) |
Definition at line 626 of file qaudiooutput_mac_p.cpp.
|
virtual |
Stops processing audio data, preserving buffered audio data.
Implements QAbstractAudioOutput.
|
virtual |
Stops processing audio data, preserving buffered audio data.
Implements QAbstractAudioOutput.
Definition at line 635 of file qaudiooutput_alsa_p.cpp.
Referenced by freeBlocks().
|
virtual |
Stops processing audio data, preserving buffered audio data.
Implements QAbstractAudioOutput.
|
privateslot |
Definition at line 665 of file qaudiooutput_alsa_p.cpp.
Referenced by feedback().
|
privateslot |
Definition at line 645 of file qaudiooutput_alsa_p.cpp.
Referenced by QAudioOutputPrivate().
|
staticprivate |
Definition at line 133 of file qaudiooutput_win32_p.cpp.
Referenced by freeBlocks().
Definition at line 532 of file qaudiooutput_alsa_p.cpp.
Referenced by deviceReady(), and freeBlocks().
|
private |
Definition at line 120 of file qaudiooutput_alsa_p.cpp.
Referenced by resume(), and write().
|
friend |
Definition at line 76 of file qaudiooutput_alsa_p.h.
Referenced by freeBlocks(), and start().
|
private |
Definition at line 143 of file qaudiooutput_alsa_p.h.
Referenced by open(), and QAudioOutputPrivate().
|
private |
Definition at line 142 of file qaudiooutput_alsa_p.h.
Referenced by open(), and QAudioOutputPrivate().
QtMultimediaInternal::QAudioOutputBuffer* QAudioOutputPrivate::audioBuffer |
Definition at line 100 of file qaudiooutput_mac_p.h.
|
private |
Definition at line 140 of file qaudiooutput_alsa_p.h.
Referenced by close(), deviceReady(), freeBlocks(), open(), QAudioOutputPrivate(), and renderCallback().
AudioDeviceID QAudioOutputPrivate::audioDeviceId |
Definition at line 94 of file qaudiooutput_mac_p.h.
QAbstractAudioDeviceInfo* QAudioOutputPrivate::audioDeviceInfo |
Definition at line 105 of file qaudiooutput_mac_p.h.
QAudioFormat QAudioOutputPrivate::audioFormat |
Definition at line 92 of file qaudiooutput_mac_p.h.
QIODevice* QAudioOutputPrivate::audioIO |
Definition at line 93 of file qaudiooutput_mac_p.h.
QIODevice * QAudioOutputPrivate::audioSource |
Definition at line 101 of file qaudiooutput_alsa_p.h.
Referenced by close(), deviceReady(), freeBlocks(), QAudioOutputPrivate(), and start().
QAtomicInt QAudioOutputPrivate::audioThreadState |
Definition at line 101 of file qaudiooutput_mac_p.h.
Referenced by renderCallback().
AudioUnit QAudioOutputPrivate::audioUnit |
Definition at line 95 of file qaudiooutput_mac_p.h.
|
private |
Definition at line 125 of file qaudiooutput_alsa_p.h.
Referenced by bytesFree(), deviceReady(), open(), QAudioOutputPrivate(), and resume().
|
private |
Definition at line 115 of file qaudiooutput_win32_p.h.
|
private |
Definition at line 119 of file qaudiooutput_alsa_p.h.
Referenced by bufferSize(), freeBlocks(), open(), QAudioOutputPrivate(), setBufferSize(), and waveOutProc().
|
private |
Definition at line 123 of file qaudiooutput_alsa_p.h.
Referenced by open(), and QAudioOutputPrivate().
|
private |
Definition at line 136 of file qaudiooutput_alsa_p.h.
Referenced by deviceReady(), freeBlocks(), open(), QAudioOutputPrivate(), resume(), updateAvailable(), and userFeed().
Float64 QAudioOutputPrivate::clockFrequency |
Definition at line 96 of file qaudiooutput_mac_p.h.
|
private |
Definition at line 138 of file qaudiooutput_alsa_p.h.
Referenced by elapsedUSecs(), and open().
AudioStreamBasicDescription QAudioOutputPrivate::deviceFormat |
Definition at line 98 of file qaudiooutput_mac_p.h.
QAudio::State QAudioOutputPrivate::deviceState |
Definition at line 104 of file qaudiooutput_alsa_p.h.
Referenced by async_callback(), bytesFree(), deviceReady(), elapsedUSecs(), freeBlocks(), open(), QAudioOutputPrivate(), resume(), setBufferSize(), start(), state(), stop(), suspend(), userFeed(), and write().
|
private |
Definition at line 139 of file qaudiooutput_alsa_p.h.
Referenced by deviceReady(), freeBlocks(), and open().
QAudio::Error QAudioOutputPrivate::errorCode |
Definition at line 107 of file qaudiooutput_mac_p.h.
QAudio::Error QAudioOutputPrivate::errorState |
Definition at line 103 of file qaudiooutput_alsa_p.h.
Referenced by deviceReady(), error(), freeBlocks(), open(), QAudioOutputPrivate(), resume(), start(), stop(), suspend(), write(), and xrun_recovery().
|
private |
Definition at line 135 of file qaudiooutput_win32_p.h.
Referenced by waveOutProc().
|
private |
Definition at line 141 of file qaudiooutput_alsa_p.h.
Referenced by bytesFree(), close(), deviceReady(), open(), QAudioOutputPrivate(), reset(), resume(), setFormat(), write(), and xrun_recovery().
|
private |
Definition at line 133 of file qaudiooutput_win32_p.h.
|
private |
Definition at line 131 of file qaudiooutput_win32_p.h.
Referenced by freeBlocks().
|
private |
Definition at line 146 of file qaudiooutput_alsa_p.h.
Referenced by open(), and setFormat().
int QAudioOutputPrivate::internalBufferSize |
Definition at line 89 of file qaudiooutput_mac_p.h.
|
private |
Definition at line 121 of file qaudiooutput_alsa_p.h.
Referenced by deviceReady(), freeBlocks(), notifyInterval(), QAudioOutputPrivate(), and setNotifyInterval().
QTimer* QAudioOutputPrivate::intervalTimer |
Definition at line 104 of file qaudiooutput_mac_p.h.
bool QAudioOutputPrivate::isOpen |
Definition at line 88 of file qaudiooutput_mac_p.h.
|
private |
Definition at line 135 of file qaudiooutput_alsa_p.h.
Referenced by freeBlocks(), open(), and QAudioOutputPrivate().
QMutex QAudioOutputPrivate::mutex |
Definition at line 103 of file qaudiooutput_mac_p.h.
Referenced by freeBlocks(), and waveOutProc().
|
private |
Definition at line 116 of file qaudiooutput_alsa_p.h.
Referenced by close(), open(), and QAudioOutputPrivate().
|
private |
Definition at line 144 of file qaudiooutput_alsa_p.h.
Referenced by QAudioOutputPrivate(), and setFormat().
|
private |
Definition at line 126 of file qaudiooutput_alsa_p.h.
Referenced by deviceReady(), open(), and QAudioOutputPrivate().
|
private |
Definition at line 116 of file qaudiooutput_win32_p.h.
|
private |
Definition at line 120 of file qaudiooutput_alsa_p.h.
Referenced by bytesFree(), deviceReady(), freeBlocks(), open(), periodSize(), QAudioOutputPrivate(), and waveOutProc().
|
private |
Definition at line 124 of file qaudiooutput_alsa_p.h.
Referenced by open(), QAudioOutputPrivate(), and resume().
int QAudioOutputPrivate::periodSizeBytes |
Definition at line 90 of file qaudiooutput_mac_p.h.
|
private |
Definition at line 117 of file qaudiooutput_alsa_p.h.
Referenced by close(), deviceReady(), freeBlocks(), QAudioOutputPrivate(), and start().
|
private |
Definition at line 132 of file qaudiooutput_win32_p.h.
Referenced by freeBlocks().
|
private |
Definition at line 118 of file qaudiooutput_alsa_p.h.
Referenced by async_callback(), bytesFree(), QAudioOutputPrivate(), resume(), suspend(), and write().
QAudioFormat QAudioOutputPrivate::settings |
Definition at line 102 of file qaudiooutput_alsa_p.h.
Referenced by format(), freeBlocks(), open(), processedUSecs(), and setFormat().
UInt64 QAudioOutputPrivate::startTime |
Definition at line 97 of file qaudiooutput_mac_p.h.
QAudio::State QAudioOutputPrivate::stateCode |
Definition at line 108 of file qaudiooutput_mac_p.h.
AudioStreamBasicDescription QAudioOutputPrivate::streamFormat |
Definition at line 99 of file qaudiooutput_mac_p.h.
Referenced by renderCallback().
QWaitCondition QAudioOutputPrivate::threadFinished |
Definition at line 102 of file qaudiooutput_mac_p.h.
|
private |
Definition at line 134 of file qaudiooutput_alsa_p.h.
Referenced by close(), open(), QAudioOutputPrivate(), resume(), suspend(), and ~QAudioOutputPrivate().
|
private |
Definition at line 112 of file qaudiooutput_win32_p.h.
|
private |
Definition at line 137 of file qaudiooutput_alsa_p.h.
Referenced by deviceReady(), freeBlocks(), and open().
|
private |
Definition at line 145 of file qaudiooutput_alsa_p.h.
|
private |
Definition at line 114 of file qaudiooutput_win32_p.h.
Referenced by freeBlocks().
qint64 QAudioOutputPrivate::totalFrames |
Definition at line 91 of file qaudiooutput_mac_p.h.
Referenced by renderCallback().
|
private |
Definition at line 122 of file qaudiooutput_alsa_p.h.
Referenced by freeBlocks(), open(), processedUSecs(), QAudioOutputPrivate(), and write().
|
private |
Definition at line 134 of file qaudiooutput_win32_p.h.
Referenced by freeBlocks().
|
private |
Definition at line 137 of file qaudiooutput_win32_p.h.
Referenced by freeBlocks().
|
private |
Definition at line 136 of file qaudiooutput_win32_p.h.
Referenced by freeBlocks(), and waveOutProc().
|
private |
Definition at line 130 of file qaudiooutput_win32_p.h.
Referenced by freeBlocks().