16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 00:09:18 +02:00

tmj merge

This commit is contained in:
milek7
2018-01-15 14:08:43 +01:00
32 changed files with 1564 additions and 2294 deletions

View File

@@ -20,11 +20,17 @@ ALuint const null_resource{ ~( ALuint { 0 } ) };
struct openal_buffer {
// members
ALuint id { null_resource }; // associated AL resource
unsigned int rate { 0 }; // sample rate of the data
unsigned int rate {}; // sample rate of the data
std::string name;
std::string caption;
// constructors
openal_buffer() = default;
explicit openal_buffer( std::string const &Filename );
// methods
// retrieves sound caption in currently set language
void
fetch_caption();
};
using buffer_handle = std::size_t;