Public Member Functions | |
Sample (const std::string &filename) throw (FileError) | |
Sample (const Sample &sample) | |
Sample (ALenum format, ALvoid *data, ALsizei size, ALsizei freq) throw (FileError) | |
std::string | getFileName () const |
Sample & | operator= (const Sample &sample) |
Protected Member Functions | |
virtual | ~Sample () |
openalpp::Sample::Sample | ( | const std::string & | filename | ) | throw (FileError) |
Constructor.
filename | is name of file to load. |
openalpp::Sample::Sample | ( | const Sample & | sample | ) |
Copy constructor.
openalpp::Sample::Sample | ( | ALenum | format, | |
ALvoid * | data, | |||
ALsizei | size, | |||
ALsizei | freq | |||
) | throw (FileError) |
Constructor.
format | to use to create sample from data. | |
data | use to create sample. | |
size | of data. | |
freq | of data. |
virtual openalpp::Sample::~Sample | ( | ) | [protected, virtual] |
Destructor
std::string openalpp::Sample::getFileName | ( | ) | const |
Get file name of loaded file.