RAPP Platform API
|
OGG Class specialisation. More...
#include <audio.hpp>
Public Member Functions | |
ogg (const std::string filepath) | |
ogg (std::ifstream &bytestream) | |
std::string | audio_source () const |
std::string | extension () const |
Public Member Functions inherited from rapp::object::audio | |
audio (const std::string filepath) | |
Construct from a file on disk. More... | |
audio (std::ifstream &bytestream) | |
Construct using an open file stream. More... | |
audio (std::vector< rapp::types::byte > bytearray) | |
construct using an existing byte-array More... | |
audio (const audio &)=default | |
Copy constructor. More... | |
std::vector< rapp::types::byte > | bytearray () const |
Get audio as array of bytes. More... | |
audio & | operator= (const audio &)=default |
Assignment operator. More... | |
bool | operator== (const audio &rhs) const |
Are audios same ? More... | |
bool | save (const std::string filepath) |
Save audio to filepath. More... | |
|
virtual |
Reimplemented from rapp::object::audio.
|
virtual |
Reimplemented from rapp::object::audio.