Music Hub  ..
A session-wide music playback service
NullVideoSink Class Reference
+ Inheritance diagram for NullVideoSink:
+ Collaboration diagram for NullVideoSink:

Public Member Functions

 NullVideoSink (QObject *parent)
 
bool swapBuffers () override
 Releases the current buffer, and consumes the next buffer in the queue, making it available for consumption by consumers of this API in an implementation-specific way. Clients will usually rely on a GL texture to receive the latest buffer. More...
 
- Public Member Functions inherited from lomiri::MediaHub::VideoSink
virtual ~VideoSink ()
 
const QMatrix4x4 & transformationMatrix () const
 Queries the 4x4 transformation matrix for the current frame. More...
 

Additional Inherited Members

- Signals inherited from lomiri::MediaHub::VideoSink
void frameAvailable ()
 The signal is emitted whenever a new frame is available and a subsequent call to swapBuffers() will not block and return true. More...
 
- Protected Member Functions inherited from lomiri::MediaHub::VideoSink
 VideoSink (VideoSinkPrivate *d, QObject *parent=nullptr)
 
- Protected Attributes inherited from lomiri::MediaHub::VideoSink
QScopedPointer< VideoSinkPrivated_ptr
 

Detailed Description

Definition at line 26 of file video_sink.cpp.

Constructor & Destructor Documentation

◆ NullVideoSink()

NullVideoSink::NullVideoSink ( QObject parent)
inline

Definition at line 31 of file video_sink.cpp.

Member Function Documentation

◆ swapBuffers()

bool NullVideoSink::swapBuffers ( )
inlineoverridevirtual

Releases the current buffer, and consumes the next buffer in the queue, making it available for consumption by consumers of this API in an implementation-specific way. Clients will usually rely on a GL texture to receive the latest buffer.

Implements lomiri::MediaHub::VideoSink.

Definition at line 36 of file video_sink.cpp.


The documentation for this class was generated from the following file: