mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-05 19:31:04 +00:00
Put the internal sound definitions into a new sound
namespace
This commit is contained in:
parent
bbc64a2eb5
commit
c90c545d33
18 changed files with 70 additions and 4 deletions
|
@ -29,6 +29,8 @@ with this program; ifnot, write to the Free Software Foundation, Inc.,
|
|||
#include <optional>
|
||||
#include <string>
|
||||
|
||||
namespace sound {
|
||||
|
||||
/**
|
||||
* For vorbisfile to read from our buffer instead of from a file.
|
||||
*/
|
||||
|
@ -92,3 +94,5 @@ struct RAIIOggFile {
|
|||
RAIIALSoundBuffer loadBuffer(const OggFileDecodeInfo &decode_info, ALuint pcm_start,
|
||||
ALuint pcm_end);
|
||||
};
|
||||
|
||||
} // namespace sound
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue