Pioneer
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
Sound::OggFileDataStream Class Reference

Public Member Functions

 OggFileDataStream ()
 
 OggFileDataStream (const RefCountedPtr< FileSystem::FileData > &data)
 
void Reset ()
 
void Reset (const RefCountedPtr< FileSystem::FileData > &data)
 
size_t read (char *buf, size_t sz, int n)
 
int seek (ogg_int64_t offset, int whence)
 
long tell ()
 
int close ()
 

Static Public Attributes

static const ov_callbacks CALLBACKS
 

Constructor & Destructor Documentation

◆ OggFileDataStream() [1/2]

Sound::OggFileDataStream::OggFileDataStream ( )
inline

◆ OggFileDataStream() [2/2]

Sound::OggFileDataStream::OggFileDataStream ( const RefCountedPtr< FileSystem::FileData > &  data)
inlineexplicit

Member Function Documentation

◆ close()

int Sound::OggFileDataStream::close ( )
inline
Here is the call graph for this function:

◆ read()

size_t Sound::OggFileDataStream::read ( char *  buf,
size_t  sz,
int  n 
)
inline
Here is the call graph for this function:

◆ Reset() [1/2]

void Sound::OggFileDataStream::Reset ( )
inline
Here is the call graph for this function:

◆ Reset() [2/2]

void Sound::OggFileDataStream::Reset ( const RefCountedPtr< FileSystem::FileData > &  data)
inline

◆ seek()

int Sound::OggFileDataStream::seek ( ogg_int64_t  offset,
int  whence 
)
inline

◆ tell()

long Sound::OggFileDataStream::tell ( )
inline

Member Data Documentation

◆ CALLBACKS

const ov_callbacks Sound::OggFileDataStream::CALLBACKS
static
Initial value:
= {
&OggFileDataStream::ov_callback_read,
&OggFileDataStream::ov_callback_seek,
&OggFileDataStream::ov_callback_close,
&OggFileDataStream::ov_callback_tell
}

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