aboutsummaryrefslogtreecommitdiff
path: root/src/unittest/test_socket.cpp
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-11-14 03:00:52 +0100
committerest31 <MTest31@outlook.com>2015-11-14 18:17:32 +0100
commit395ef21c86b3712bf45488b15d2d8dbc430e4c8e (patch)
tree96dc505c1279e77d5b33d92ac420499060bdaf38 /src/unittest/test_socket.cpp
parentfc89f467009822b5294967e3e58dbb2fd792bc44 (diff)
downloadminetest-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/unittest/test_socket.cpp')
0 files changed, 0 insertions, 0 deletions