3#ifndef QFFMPEGTHREAD_P_H
4#define QFFMPEGTHREAD_P_H
17#include <private/qtmultimediaglobal_p.h>
87 mutable
QMutex m_loopDataMutex;
The QAudioSink class provides an interface for sending audio data to an audio output device.
FFmpeg thread that is used to implement a consumer pattern.
virtual bool hasData() const =0
Must return true when data is available for processing.
virtual void init()=0
Called on this thread when thread starts.
void stopAndDelete()
Stops the thread and deletes this object.
QMutexLocker< QMutex > lockLoopData() const
Locks the loop data mutex.
void dataReady()
Wake thread from sleep and process data until hasData() returns false.
virtual void cleanup()=0
Called on this thread before thread exits.
virtual void processOne()=0
Process one work item.
Combined button and popup list for selecting options.