Classes | Public Member Functions | List of all members
openmsx::OggReader Class Reference

#include <OggReader.hh>

Public Member Functions

 OggReader (const OggReader &)=delete
OggReaderoperator= (const OggReader &)=delete
 OggReader (const Filename &filename, CliComm &cli)
 ~OggReader ()
bool seek (size_t frame, size_t sample)
unsigned getSampleRate () const
void getFrameNo (RawFrame &frame, size_t frameno)
const AudioFragmentgetAudio (size_t sample)
size_t getFrames () const
int getFrameRate () const
bool stopFrame (size_t frame) const
size_t getChapter (int chapterNo) const

Detailed Description

Definition at line 40 of file OggReader.hh.

Constructor & Destructor Documentation

◆ OggReader() [1/2]

openmsx::OggReader::OggReader ( const OggReader )

◆ OggReader() [2/2]

openmsx::OggReader::OggReader ( const Filename filename,
CliComm cli 

Definition at line 46 of file

References ranges::equal().

◆ ~OggReader()

openmsx::OggReader::~OggReader ( )

Definition at line 214 of file

Member Function Documentation

◆ getAudio()

const AudioFragment * openmsx::OggReader::getAudio ( size_t  sample)

Definition at line 663 of file

References begin(), end(), getSampleRate(), and openmsx::AudioFragment::UNKNOWN_POS.

◆ getChapter()

size_t openmsx::OggReader::getChapter ( int  chapterNo) const

Definition at line 954 of file

References binary_find().

◆ getFrameNo()

void openmsx::OggReader::getFrameNo ( RawFrame frame,
size_t  frameno 

◆ getFrameRate()

int openmsx::OggReader::getFrameRate ( ) const

Definition at line 54 of file OggReader.hh.

◆ getFrames()

size_t openmsx::OggReader::getFrames ( ) const

Definition at line 53 of file OggReader.hh.

◆ getSampleRate()

unsigned openmsx::OggReader::getSampleRate ( ) const

Definition at line 50 of file OggReader.hh.

Referenced by getAudio().

◆ operator=()

OggReader & openmsx::OggReader::operator= ( const OggReader )

◆ seek()

bool openmsx::OggReader::seek ( size_t  frame,
size_t  sample 

◆ stopFrame()

bool openmsx::OggReader::stopFrame ( size_t  frame) const

Definition at line 949 of file

References ranges::binary_search().

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