tec::VorbisStream
#include <vorbis-stream.hpp>
Public Functions
Name | |
---|---|
VorbisStream(unsigned buffer_size =32768) | |
~VorbisStream() | |
std::size_t | BufferStream(ALint buffer) |
void | Reset() |
const std::string | GetName() const |
void | SetName(const std::string & _name) |
std::shared_ptr< VorbisStream > | Create(const Path & filename) Creates a VorbisStream resource from the given filename. |
Public Functions Documentation
function VorbisStream
VorbisStream(
unsigned buffer_size =32768
)
function ~VorbisStream
~VorbisStream()
function BufferStream
std::size_t BufferStream(
ALint buffer
)
function Reset
void Reset()
function GetName
inline const std::string GetName() const
function SetName
inline void SetName(
const std::string & _name
)
function Create
static std::shared_ptr< VorbisStream > Create(
const Path & filename
)
Creates a VorbisStream resource from the given filename.
Parameters:
- const std::vector
& properties The creation properties for the resource.
Return: std::shared_ptr
The only used initialization property is "filename".
Updated on 2022-07-24 at 19:27:35 +0000