diff options
author | est31 <MTest31@outlook.com> | 2015-11-14 03:00:52 +0100 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-11-14 18:17:32 +0100 |
commit | 395ef21c86b3712bf45488b15d2d8dbc430e4c8e (patch) | |
tree | 96dc505c1279e77d5b33d92ac420499060bdaf38 /src/script/cpp_api/s_mainmenu.cpp | |
parent | fc89f467009822b5294967e3e58dbb2fd792bc44 (diff) | |
download | minetest-395ef21c86b3712bf45488b15d2d8dbc430e4c8e.tar.gz minetest-395ef21c86b3712bf45488b15d2d8dbc430e4c8e.tar.bz2 minetest-395ef21c86b3712bf45488b15d2d8dbc430e4c8e.zip |
Load sound from memory
* Remove trailing lines from src/sound_openal.cpp
* Don't do a horribly ugly copy of the file's path, allocating and deallocating a
10 kb buffer in the process. This copy was needed for backwards compatibility
with libvorbis 1.3.1 and earlier, as the removed comment explains.
However, even Ubuntu precise has 1.3.2 already. Dropping support and sparing
the ugly copy can therefore be considered safe.
* Actually load sounds from the memory, not caching them at the disk first,
removing the old hack. This is the main motivation for the commit.
Diffstat (limited to 'src/script/cpp_api/s_mainmenu.cpp')
0 files changed, 0 insertions, 0 deletions