mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-10 19:32:10 +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
|
@ -26,6 +26,8 @@ with this program; ifnot, write to the Free Software Foundation, Inc.,
|
|||
|
||||
#include "sound_constants.h"
|
||||
|
||||
namespace sound {
|
||||
|
||||
/*
|
||||
* ISoundDataOpen struct
|
||||
*/
|
||||
|
@ -229,3 +231,5 @@ std::tuple<ALuint, ALuint, ALuint> SoundDataOpenStream::loadBufferAt(ALuint offs
|
|||
|
||||
return {it->m_buffers[new_buf_i].m_buffer.get(), new_buf_end, offset - new_buf_start};
|
||||
}
|
||||
|
||||
} // namespace sound
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue