Open Source Tomb Raider Engine
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

12345678910111213141516171819202122232425262728
  1. /*!
  2. * \file src/Sound.cpp
  3. * \brief This is the audio manager Implementation
  4. *
  5. * \author xythobuz
  6. */
  7. #include "global.h"
  8. #include "Sound.h"
  9. #ifdef USING_AL
  10. #include "SoundAL.h"
  11. #else
  12. #include "SoundNull.h"
  13. #endif
  14. Sound &getSound() {
  15. #ifdef USING_AL
  16. static SoundAL gSound;
  17. #else
  18. static SoundNull gSound;
  19. #endif
  20. return gSound;
  21. }
  22. Sound::~Sound() {
  23. }