Open Source Tomb Raider Engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Sound.cpp 368B

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. }