kwave  18.07.70
Kwave::OggSubDecoder Class Referenceabstract

#include <OggSubDecoder.h>

Inheritance diagram for Kwave::OggSubDecoder:
Inheritance graph
Collaboration diagram for Kwave::OggSubDecoder:
Collaboration graph

Public Member Functions

virtual ~OggSubDecoder ()
 
virtual int open (QWidget *widget, Kwave::FileInfo &info)=0
 
virtual int decode (Kwave::MultiWriter &dst)=0
 
virtual void reset ()=0
 
virtual void close (Kwave::FileInfo &info)=0
 

Detailed Description

Definition at line 30 of file OggSubDecoder.h.

Constructor & Destructor Documentation

◆ ~OggSubDecoder()

virtual Kwave::OggSubDecoder::~OggSubDecoder ( )
inlinevirtual

Destructor

Definition at line 34 of file OggSubDecoder.h.

References close(), decode(), open(), and reset().

34 {}
Here is the call graph for this function:

Member Function Documentation

◆ close()

virtual void Kwave::OggSubDecoder::close ( Kwave::FileInfo info)
pure virtual

finish the decoding, last chance to fix up some file info

Parameters
inforeference to a FileInfo to fill

Implemented in Kwave::OpusDecoder, and Kwave::VorbisDecoder.

Referenced by Kwave::OggDecoder::decode(), and ~OggSubDecoder().

Here is the caller graph for this function:

◆ decode()

virtual int Kwave::OggSubDecoder::decode ( Kwave::MultiWriter dst)
pure virtual

decode received ogg data

Parameters
dsta MultiWriter to be used as sink
Returns
-1 if failed or >= 0 if succeeded

Implemented in Kwave::OpusDecoder, and Kwave::VorbisDecoder.

Referenced by Kwave::OggDecoder::decode(), and ~OggSubDecoder().

Here is the caller graph for this function:

◆ open()

virtual int Kwave::OggSubDecoder::open ( QWidget *  widget,
Kwave::FileInfo info 
)
pure virtual

parse the header of the stream and initialize the decoder

Parameters
widgeta QWidget to be used as parent for error messages
inforeference to a FileInfo to fill
Returns
-1 if failed or +1 if succeeded

Implemented in Kwave::OpusDecoder, and Kwave::VorbisDecoder.

Referenced by Kwave::OggDecoder::parseHeader(), and ~OggSubDecoder().

Here is the caller graph for this function:

◆ reset()

virtual void Kwave::OggSubDecoder::reset ( )
pure virtual

reset the stream info

Implemented in Kwave::OpusDecoder, and Kwave::VorbisDecoder.

Referenced by Kwave::OggDecoder::decode(), and ~OggSubDecoder().

Here is the caller graph for this function:

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