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.

SoundNull.cpp 814B

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