Open Source Tomb Raider Engine
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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