For vorbisfile to read from our buffer instead of from a file. More...
#include <ogg_file.h>
Static Public Member Functions | |
static size_t | read_func (void *ptr, size_t size, size_t nmemb, void *datasource) noexcept |
static int | seek_func (void *datasource, ogg_int64_t offset, int whence) noexcept |
static int | close_func (void *datasource) noexcept |
static long | tell_func (void *datasource) noexcept |
Public Attributes | |
std::string | buf |
size_t | cur_offset = 0 |
Static Public Attributes | |
static const ov_callbacks | s_ov_callbacks |
For vorbisfile to read from our buffer instead of from a file.
|
staticnoexcept |
|
staticnoexcept |
References buf, cur_offset, and MYMIN.
|
staticnoexcept |
References buf, cur_offset, and MYMIN.
|
staticnoexcept |
References cur_offset.
std::string sound::OggVorbisBufferSource::buf |
Referenced by read_func(), and seek_func().
size_t sound::OggVorbisBufferSource::cur_offset = 0 |
Referenced by read_func(), seek_func(), and tell_func().
|
static |
Referenced by sound::SoundDataUnopenBuffer::open().