File tree 1 file changed +0
-10
lines changed
1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -269,7 +269,6 @@ class OpenALSoundManager: public ISoundManager
269
269
OnDemandSoundFetcher *m_fetcher;
270
270
ALCdevice *m_device;
271
271
ALCcontext *m_context;
272
- bool m_can_vorbis;
273
272
int m_next_id;
274
273
std::map<std::string, std::vector<SoundBuffer*> > m_buffers;
275
274
std::map<int , PlayingSound*> m_sounds_playing;
@@ -280,7 +279,6 @@ class OpenALSoundManager: public ISoundManager
280
279
m_fetcher (fetcher),
281
280
m_device (NULL ),
282
281
m_context (NULL ),
283
- m_can_vorbis (false ),
284
282
m_next_id (1 ),
285
283
m_is_initialized (false )
286
284
{
@@ -295,14 +293,6 @@ class OpenALSoundManager: public ISoundManager
295
293
return ;
296
294
}
297
295
298
- if (alcIsExtensionPresent (m_device, " EXT_vorbis" )){
299
- infostream<<" Audio: Vorbis extension present" <<std::endl;
300
- m_can_vorbis = true ;
301
- } else {
302
- infostream<<" Audio: Vorbis extension NOT present" <<std::endl;
303
- m_can_vorbis = false ;
304
- }
305
-
306
296
m_context = alcCreateContext (m_device, NULL );
307
297
if (!m_context){
308
298
error = alcGetError (m_device);
You can’t perform that action at this time.
0 commit comments