|
|
SoundSystemBase & | operator= (SoundSystemBase const &) |
|
| SoundSystemBase (SoundSystemBase const &) |
|
virtual bool | preinit () |
|
virtual void | init () |
|
virtual void | destroy () |
|
virtual void | setOutputDevice (::SoundSystemGUID &outputDevice) |
|
virtual void | setAsyncLoadFunction (::std::function< void(::SoundItem const &, ::std::function< void()>)> asyncLoad) |
|
virtual void | enable (bool status) |
|
virtual void | mute (bool muted) |
|
virtual bool | addListener (int const handle) |
|
virtual void | removeListener (int const handle) |
|
virtual void | setListenerDirection (int const listenerHandle, ::glm::vec3 const &forward, ::glm::vec3 const &up) |
|
virtual void | setListenerPos (int const listenerHandle, float x, float y, float z) |
|
virtual void | setListenerVelocity (int const listenerHandle, float x, float y, float z) |
|
virtual void | setMainVolume (float vol) |
|
virtual void | setMusicVolume (float vol) |
|
virtual void | setSoundVolume (float vol) |
|
virtual void | setSoundCategoryVolume (::std::string const &category, float vol) |
|
virtual void | setTTSVolume (float vol) |
|
virtual bool | load (::Core::Path const &soundName, bool isStream) |
|
virtual bool | loadRawFromMemory (::Core::Path const &soundName, char const *data, uint64 dataSize, int numchannels, int defaultfrequency, ::SoundFormat format) |
|
virtual bool | loadFromMemory (::Core::Path const &soundName, char const *data, uint64 dataSize) |
|
virtual bool | loadExternalEvent (::std::string const &soundName) |
|
virtual void | unload (::Core::Path const &soundName) |
|
virtual void | unloadAll () |
|
virtual bool | isSoundLoaded (::Core::Path const &name) |
|
virtual bool | usesSoundBanks () |
|
virtual void | loadSoundBank (::std::string const &name, bool isNonBlocking) |
|
virtual void | unloadSoundBank (::std::string const &name) |
|
virtual void | play (::std::string const &name) |
|
virtual void | pause (::std::string const &name) |
|
virtual void | stop (::std::string const &name) |
|
virtual void | stop (uint64 handle) |
|
virtual uint64 | playEvent (::SoundEvent const &soundEvent, ::std::string const &eventName, float volume, float pitch) |
|
virtual uint64 | playEventAt (::SoundEvent const &soundEvent, ::std::string const &eventName, float x, float y, float z, float volume, float pitch) |
|
virtual uint64 | playAt (::Core::Path const &soundName, ::SoundEvent const *soundEvent, ::std::string const &eventName, uint64 soundHandle, float x, float y, float z, float volume, float pitch, bool is3D, float minDistance, float maxDistance, bool useLegacyMaxDistance, bool isTTS) |
|
virtual uint64 | playEventAttached (::SoundEvent const &soundEvent, ::std::string const &eventName, ::std::function< void(::SoundInstanceProperties &)> &&getSoundProperties) |
|
virtual bool | isPlayingSound (uint64 handle) const |
|
virtual void | fadeOut (uint64 handle, float duration) const |
|
virtual void | playMusic (::std::string const &eventName, ::SoundItem const &soundItem) |
|
virtual bool | isPlayingMusicEvent (::std::string const &eventName) const |
|
virtual bool | isPlayingMusic (::Core::PathView soundName) const |
|
virtual bool | isLoadingMusic () const |
|
virtual void | cancelLoadMusic () |
|
virtual ::Core::PathBuffer<::std::string > const & | getCurrentlyPlayingMusicName () const |
|
virtual::std::string | getCurrentlyPlayingEventName () const |
|
virtual void | stopMusic () |
|
virtual void | stopRecords () |
|
virtual void | stopAllSounds () |
|
virtual void | pauseAllPlayingSounds () |
|
virtual void | resumeAllPreviouslyPlayingSounds () |
|
virtual void | fadeMusicOut (float time) |
|
virtual bool | isMusicChannelPlaying () const |
|
virtual void | pauseMusic (bool state) |
|
virtual void | update (float elapsedTime) |
|
virtual uint64 | registerLoop (::SoundItem const &soundItem, ::std::weak_ptr<::SoundEvent > const soundEvent, ::std::string const &eventName, ::std::function< void(::LoopingSoundState &)> getSoundState, float fadeInDuration, float fadeOutDuration) |
|
virtual void | unregisterLoop (uint64 handle, bool hard) |
|
virtual void | displayDebugStats (::std::string &debugOutputFormat) const |
|
virtual void | startSnapshot (::std::string const &name) |
|
virtual void | stopSnapshot (::std::string const &name) |
|
virtual void | stopAllSnapshots () |
|
virtual uint64 | getNewSoundHandle () |
|
virtual ::std::optional<::PlayingSoundAttributes > | tryGetPlayingSoundAttributes (uint64 handle) const |
|
virtual ::std::optional<::LoopingSoundAttributes > | tryGetLoopingSoundAttributes (uint64 handle) const |
| MCAPI void | $dtor () |