summaryrefslogtreecommitdiff
path: root/src/sound_openal.cpp
diff options
context:
space:
mode:
authorJay Arndt <jayarn27182@windstream.net>2015-11-29 17:57:12 -0600
committerparamat <mat.gregory@virginmedia.com>2015-12-01 00:36:11 +0000
commit6fead2818acf00a63c89ec613230a59bc0c4cab5 (patch)
tree562958ad5fb7418bd7c6c5f86ee96cd55c8bc78e /src/sound_openal.cpp
parent5292ba7391cd611c60ca55df55246af7edefb16c (diff)
downloadminetest-6fead2818acf00a63c89ec613230a59bc0c4cab5.tar.gz
minetest-6fead2818acf00a63c89ec613230a59bc0c4cab5.tar.bz2
minetest-6fead2818acf00a63c89ec613230a59bc0c4cab5.zip
Remove unused OpenALSoundManager::m_can_vorbis and EXT_vorbis check
Diffstat (limited to 'src/sound_openal.cpp')
-rw-r--r--src/sound_openal.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/sound_openal.cpp b/src/sound_openal.cpp
index 0c4ae8856..e2b6d937a 100644
--- a/src/sound_openal.cpp
+++ b/src/sound_openal.cpp
@@ -269,7 +269,6 @@ private:
OnDemandSoundFetcher *m_fetcher;
ALCdevice *m_device;
ALCcontext *m_context;
- bool m_can_vorbis;
int m_next_id;
std::map<std::string, std::vector<SoundBuffer*> > m_buffers;
std::map<int, PlayingSound*> m_sounds_playing;
@@ -280,7 +279,6 @@ public:
m_fetcher(fetcher),
m_device(NULL),
m_context(NULL),
- m_can_vorbis(false),
m_next_id(1),
m_is_initialized(false)
{
@@ -295,14 +293,6 @@ public:
return;
}
- if(alcIsExtensionPresent(m_device, "EXT_vorbis")){
- infostream<<"Audio: Vorbis extension present"<<std::endl;
- m_can_vorbis = true;
- } else{
- infostream<<"Audio: Vorbis extension NOT present"<<std::endl;
- m_can_vorbis = false;
- }
-
m_context = alcCreateContext(m_device, NULL);
if(!m_context){
error = alcGetError(m_device);