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.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*!
  2. * \file src/SoundNull.cpp
  3. * \brief This is the null audio manager Implementation
  4. *
  5. * \author xythobuz
  6. */
  7. #include "global.h"
  8. #include "SoundNull.h"
  9. SoundNull::SoundNull() {
  10. }
  11. SoundNull::~SoundNull() {
  12. }
  13. int SoundNull::initialize() {
  14. return 0;
  15. }
  16. void SoundNull::setEnabled(bool on) {
  17. }
  18. void SoundNull::setVolume(float vol) {
  19. }
  20. int SoundNull::registeredSources() {
  21. return 0;
  22. }
  23. void SoundNull::clear() {
  24. }
  25. void SoundNull::listenAt(float pos[3], float angle[3]) {
  26. }
  27. void SoundNull::sourceAt(int source, float pos[3]) {
  28. }
  29. int SoundNull::addFile(const char *filename, int *source, unsigned int flags) {
  30. return 0;
  31. }
  32. int SoundNull::addWave(unsigned char *wav, unsigned int length, int *source, unsigned int flags) {
  33. return 0;
  34. }
  35. void SoundNull::play(int source) {
  36. }
  37. void SoundNull::stop(int source) {
  38. }