openMSX
|
#include <OggReader.hh>
Public Member Functions | |
OggReader (const Filename &filename, CliComm &cli) | |
OggReader (const OggReader &)=delete | |
OggReader (OggReader &&)=delete | |
OggReader & | operator= (const OggReader &)=delete |
OggReader & | operator= (OggReader &&)=delete |
~OggReader () | |
bool | seek (size_t frame, size_t sample) |
unsigned | getSampleRate () const |
void | getFrameNo (RawFrame &frame, size_t frameno) |
const AudioFragment * | getAudio (size_t sample) |
size_t | getFrames () const |
int | getFrameRate () const |
bool | stopFrame (size_t frame) const |
size_t | getChapter (int chapterNo) const |
Definition at line 44 of file OggReader.hh.
Definition at line 46 of file OggReader.cc.
References ranges::equal().
|
delete |
|
delete |
openmsx::OggReader::~OggReader | ( | ) |
Definition at line 214 of file OggReader.cc.
const AudioFragment * openmsx::OggReader::getAudio | ( | size_t | sample | ) |
Definition at line 663 of file OggReader.cc.
References begin(), end(), getSampleRate(), and openmsx::AudioFragment::UNKNOWN_POS.
size_t openmsx::OggReader::getChapter | ( | int | chapterNo | ) | const |
Definition at line 954 of file OggReader.cc.
References binary_find().
void openmsx::OggReader::getFrameNo | ( | RawFrame & | frame, |
size_t | frameno | ||
) |
Definition at line 596 of file OggReader.cc.
References openmsx::Frame::buffer, openmsx::yuv2rgb::convert(), openmsx::Frame::no, and openmsx::CliComm::printWarning().
|
inline |
Definition at line 59 of file OggReader.hh.
|
inline |
Definition at line 58 of file OggReader.hh.
|
inline |
Definition at line 55 of file OggReader.hh.
Referenced by getAudio().
bool openmsx::OggReader::seek | ( | size_t | frame, |
size_t | sample | ||
) |
Definition at line 918 of file OggReader.cc.
References begin(), end(), openmsx::File::seek(), and openmsx::AudioFragment::UNKNOWN_POS.
bool openmsx::OggReader::stopFrame | ( | size_t | frame | ) | const |
Definition at line 949 of file OggReader.cc.
References ranges::binary_search().