API Reference
On this page
Classes | |
| struct | StreamInfo |
Public Types | |
| using | LockType = ::std::mutex |
Public Member Functions | |
| SoundSystemFMOD & | operator= (SoundSystemFMOD const &) |
| SoundSystemFMOD (SoundSystemFMOD const &) | |
| virtual bool | preinit () |
| virtual void | init () |
| virtual void | destroy () |
| virtual void | setOutputDevice (::SoundSystemGUID &outputDevice) |
| virtual void | setAsyncLoadFunction (::std::function< void(::SoundLoadTask)> 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 | 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 | loadRawFromMemory (::Core::Path const &soundPath, char const *data, uint64 dataSize, int numchannels, int defaultfrequency, ::SoundFormat format) |
| virtual bool | loadFromMemory (::Core::Path const &soundPath, char const *data, uint64 dataSize) |
| virtual void | unload (::Core::Path const &soundPath) |
| virtual void | unloadAllExcept (::std::vector<::Core::PathBuffer<::std::string > > const &exceptions) |
| virtual void | stop (::std::string const &eventName) |
| virtual void | stop (uint64 handle) |
| virtual void | stop (::ServerSoundHandle serverSoundHandle) |
| virtual void | setVolume (::ServerSoundHandle serverSoundHandle, float volume) |
| virtual void | setPitch (::ServerSoundHandle serverSoundHandle, float pitch) |
| virtual void | fade (::ServerSoundHandle serverSoundHandle, float duration, float targetVolume) |
| virtual void | setPlaybackPosition (::ServerSoundHandle serverSoundHandle, float seconds) |
| virtual void | setPlaybackPosition (uint64 soundHandle, float seconds) |
| virtual void | pause (::ServerSoundHandle serverSoundHandle, ::SoundPauseSource source) |
| virtual void | pause (uint64 soundHandle, ::SoundPauseSource source) |
| virtual void | resume (::ServerSoundHandle serverSoundHandle, ::SoundPauseSource source) |
| virtual void | resume (uint64 soundHandle, ::SoundPauseSource source) |
| virtual void | signalStart (uint64 soundHandle) |
| virtual void | stopAllSounds () |
| virtual void | pauseAllPlayingSounds (::SoundPauseSource source) |
| virtual void | resumeAllPreviouslyPlayingSounds (::SoundPauseSource source) |
| virtual void | fadeOut (uint64 handle, float duration) const |
| 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, ::std::optional<::ServerSoundHandle > serverSoundHandle) |
| virtual uint64 | playEventAt (::SoundEvent const &soundEvent, ::PlaySoundOptions const &options) |
| virtual uint64 | playStreamableEventAt (::SoundEvent const &soundEvent, ::SoundItem const &soundItem, ::std::unique_ptr<::Audio::IStreamableAudioAsset > streamableAudioAsset, ::PlaySoundOptions const &options) |
| virtual uint64 | playEventAttached (::SoundEvent const &soundEvent, ::std::string const &eventName, ::std::function< void(::SoundInstanceProperties &)> &&getSoundProperties) |
| virtual uint64 | playAt (::Core::Path const &soundPath, ::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, ::std::optional<::ServerSoundHandle > serverSoundHandle, int loopCount, float volumeBase) |
| virtual void | playMusic (::PlayMusicOptions options, ::SoundItem const &soundItem) |
| virtual uint64 | playStreamableMusic (::std::string const &eventName, ::SoundItem const &soundItem, ::std::unique_ptr<::Audio::IStreamableAudioAsset > streamableAudioAsset) |
| virtual void | pauseMusic (bool paused) |
| virtual void | stopMusic () |
| virtual void | fadeMusicOut (float time) |
| virtual bool | isMusicChannelPlaying () const |
| virtual bool | isPlayingMusicEvent (::std::string const &eventName) const |
| virtual bool | isPlayingMusic (::Core::PathView soundPath) const |
| virtual bool | isLoadingMusic () const |
| virtual void | cancelLoadMusic () |
| virtual::Core::PathView | getCurrentlyPlayingMusicPath () const |
| virtual::std::string | getCurrentlyPlayingEventName () const |
| virtual void | update (float elapsedTime) |
| virtual void | playSound (float x, float y, float z, float volume, float pitch, ::FMOD::ChannelGroup *channelGroup, ::FMOD::Channel *&channel, ::FMOD::Sound *&soundToPlay, bool is3D, float minDistance, float maxDistance, bool useLegacyMaxDistance, int loopCount) |
| virtual::FMOD::Sound * | getFirstSubSound (::std::shared_ptr<::FMOD::Sound > const &sound) const |
| virtual bool | isPlayingSound (uint64 handle) const |
| virtual bool | isPlayingSound (::Core::Path const &soundPath) const |
| virtual bool | isPlayingSound (::ServerSoundHandle serverSoundHandle) const |
| virtual bool | isSoundActive (uint64 handle) const |
| virtual bool | wasSoundStoppedExplicitly (::ServerSoundHandle serverSoundHandle) const |
| 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 uint64 | getNewSoundHandle () |
| virtual ::std::optional<::PlayingSoundAttributes > | tryGetPlayingSoundAttributes (uint64 handle) const |
| virtual ::std::optional<::PlayingSoundAttributes > | tryGetPlayingSoundAttributes (::ServerSoundHandle serverSoundHandle) const |
| virtual ::std::optional<::LoopingSoundAttributes > | tryGetLoopingSoundAttributes (uint64 handle) const |
| virtual uint64 | playOnlineMusic (::std::string const &eventName, ::WeakRef<::Audio::OnlineAudioStream > stream, float volume, ::Audio::SoundStartOptions startOptions) |
| virtual uint64 | playOnlineMusic (::std::string const &eventName, ::SoundItem const &soundItem, ::WeakRef<::Audio::OnlineAudioStream > stream, ::Audio::SoundStartOptions startOptions) |
| virtual uint64 | playOnlineSound (::WeakRef<::Audio::OnlineAudioStream > stream, float volume, float pitch, ::Audio::SoundStartOptions startOptions) |
| virtual uint64 | playOnlineSound (::SoundEvent const &soundEvent, ::SoundItem const &soundItem, ::WeakRef<::Audio::OnlineAudioStream > stream, ::PlaySoundOptions const &options, ::Audio::SoundStartOptions startOptions) |
| virtual uint64 | createRawUISoundStream (int bitDepth, int channels, float samplingRate) |
| virtual void | closeRawUISoundStream (uint64 handle) |
| virtual void | playRawUISoundStream (uint64 handle) |
| virtual void | pauseRawUISoundStream (uint64 handle) |
| virtual void | feedRawUISoundStream (uint64 handle, int samples, float **pcm, int channels) |
| virtual void | endRawUISoundStream (uint64 handle) |
| virtual void | setRawUISoundStreamVolume (uint64 handle, float volume) |
| virtual void | flushRawUISoundStreamData (uint64 handle) |
| virtual bool | _createSystem () |
| virtual bool | _initSystem () |
| virtual void | _updateSystem (float elapsedTime) |
| virtual void | _destroySystem () |
| virtual void | _updateListenerAttributes () |
| virtual void | _setPositionalAttributes (::FMOD::Channel *channel, ::FMOD::Sound *sound, ::FMOD::Sound *soundToPlay, float x, float y, float z, float volume) |
| MCAPI | SoundSystemFMOD (::ResourceLoader &resourceLoader, ::std::unique_ptr<::Audio::IAudioAssetProvider const > audioAssetProvider, ::Core::Path const &tempFolderPath, ::Core::Path const &dataUrl, uint64 threadMask) |
| MCAPI void | _loadSoundAsync (::SoundItem const &soundItem, ::SoundCacheKeyFMOD soundCacheKey, ::std::weak_ptr<::DiskSoundSourceFMOD > weakSoundSource) |
| MCAPI void | _loadSoundAsync (::Core::Path const &soundPath, ::std::unique_ptr<::Audio::IStreamableAudioAsset > streamableAudioAsset, ::SoundCacheKeyFMOD soundCacheKey, ::std::weak_ptr<::DiskSoundSourceFMOD > weakSoundSource) |
| MCAPI uint64 | _playAt (::Core::Path const &soundPath, ::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, ::std::optional<::ServerSoundHandle > serverSoundHandle, int loopCount, float volumeBase, int channelPriority) |
| MCAPI uint64 | _playEvent (::SoundEvent const &soundEvent, ::std::string const &eventName, float volumeScalar, float pitchScalar, bool is2D, float x, float y, float z, ::std::optional<::ServerSoundHandle > serverSoundHandle, int loopCount, ::std::optional< float > playbackPositionSeconds, int channelPriority) |
| MCAPI void * | $ctor (::ResourceLoader &resourceLoader, ::std::unique_ptr<::Audio::IAudioAssetProvider const > audioAssetProvider, ::Core::Path const &tempFolderPath, ::Core::Path const &dataUrl, uint64 threadMask) |
| MCAPI bool | $preinit () |
| MCAPI void | $init () |
| MCAPI void | $destroy () |
| MCAPI void | $setOutputDevice (::SoundSystemGUID &outputDevice) |
| MCAPI void | $setAsyncLoadFunction (::std::function< void(::SoundLoadTask)> asyncLoad) |
| MCAPI void | $enable (bool status) |
| MCAPI void | $mute (bool muted) |
| MCAPI bool | $addListener (int const handle) |
| MCAPI void | $removeListener (int const handle) |
| MCAPI void | $setMainVolume (float vol) |
| MCAPI void | $setMusicVolume (float vol) |
| MCAPI void | $setSoundVolume (float vol) |
| MCAPI void | $setSoundCategoryVolume (::std::string const &category, float vol) |
| MCAPI void | $setTTSVolume (float vol) |
| MCAPI bool | $loadRawFromMemory (::Core::Path const &soundPath, char const *data, uint64 dataSize, int numchannels, int defaultfrequency, ::SoundFormat format) |
| MCAPI bool | $loadFromMemory (::Core::Path const &soundPath, char const *data, uint64 dataSize) |
| MCAPI void | $unload (::Core::Path const &soundPath) |
| MCAPI void | $unloadAllExcept (::std::vector<::Core::PathBuffer<::std::string > > const &exceptions) |
| MCAPI void | $stop (::std::string const &eventName) |
| MCAPI void | $stop (uint64 handle) |
| MCAPI void | $stop (::ServerSoundHandle serverSoundHandle) |
| MCAPI void | $setVolume (::ServerSoundHandle serverSoundHandle, float volume) |
| MCAPI void | $setPitch (::ServerSoundHandle serverSoundHandle, float pitch) |
| MCAPI void | $fade (::ServerSoundHandle serverSoundHandle, float duration, float targetVolume) |
| MCAPI void | $setPlaybackPosition (::ServerSoundHandle serverSoundHandle, float seconds) |
| MCAPI void | $setPlaybackPosition (uint64 soundHandle, float seconds) |
| MCAPI void | $pause (::ServerSoundHandle serverSoundHandle, ::SoundPauseSource source) |
| MCAPI void | $pause (uint64 soundHandle, ::SoundPauseSource source) |
| MCAPI void | $resume (::ServerSoundHandle serverSoundHandle, ::SoundPauseSource source) |
| MCAPI void | $resume (uint64 soundHandle, ::SoundPauseSource source) |
| MCAPI void | $signalStart (uint64 soundHandle) |
| MCAPI void | $stopAllSounds () |
| MCAPI void | $pauseAllPlayingSounds (::SoundPauseSource source) |
| MCAPI void | $resumeAllPreviouslyPlayingSounds (::SoundPauseSource source) |
| MCAPI void | $fadeOut (uint64 handle, float duration) const |
| MCAPI uint64 | $playEvent (::SoundEvent const &soundEvent, ::std::string const &eventName, float volume, float pitch) |
| MCAPI uint64 | $playEventAt (::SoundEvent const &soundEvent, ::std::string const &eventName, float x, float y, float z, float volume, float pitch, ::std::optional<::ServerSoundHandle > serverSoundHandle) |
| MCAPI uint64 | $playEventAt (::SoundEvent const &soundEvent, ::PlaySoundOptions const &options) |
| MCAPI uint64 | $playStreamableEventAt (::SoundEvent const &soundEvent, ::SoundItem const &soundItem, ::std::unique_ptr<::Audio::IStreamableAudioAsset > streamableAudioAsset, ::PlaySoundOptions const &options) |
| MCAPI uint64 | $playEventAttached (::SoundEvent const &soundEvent, ::std::string const &eventName, ::std::function< void(::SoundInstanceProperties &)> &&getSoundProperties) |
| MCAPI uint64 | $playAt (::Core::Path const &soundPath, ::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, ::std::optional<::ServerSoundHandle > serverSoundHandle, int loopCount, float volumeBase) |
| MCAPI void | $playMusic (::PlayMusicOptions options, ::SoundItem const &soundItem) |
| MCAPI uint64 | $playStreamableMusic (::std::string const &eventName, ::SoundItem const &soundItem, ::std::unique_ptr<::Audio::IStreamableAudioAsset > streamableAudioAsset) |
| MCAPI void | $pauseMusic (bool paused) |
| MCAPI void | $stopMusic () |
| MCAPI void | $fadeMusicOut (float time) |
| MCAPI bool | $isMusicChannelPlaying () const |
| MCAPI bool | $isPlayingMusicEvent (::std::string const &eventName) const |
| MCAPI bool | $isPlayingMusic (::Core::PathView soundPath) const |
| MCAPI bool | $isLoadingMusic () const |
| MCAPI void | $cancelLoadMusic () |
| MCAPI::Core::PathView | $getCurrentlyPlayingMusicPath () const |
| MCAPI::std::string | $getCurrentlyPlayingEventName () const |
| MCAPI void | $update (float elapsedTime) |
| MCAPI void | $playSound (float x, float y, float z, float volume, float pitch, ::FMOD::ChannelGroup *channelGroup, ::FMOD::Channel *&channel, ::FMOD::Sound *&soundToPlay, bool is3D, float minDistance, float maxDistance, bool useLegacyMaxDistance, int loopCount) |
| MCAPI::FMOD::Sound * | $getFirstSubSound (::std::shared_ptr<::FMOD::Sound > const &sound) const |
| MCAPI bool | $isPlayingSound (uint64 handle) const |
| MCAPI bool | $isPlayingSound (::Core::Path const &soundPath) const |
| MCAPI bool | $isPlayingSound (::ServerSoundHandle serverSoundHandle) const |
| MCAPI bool | $isSoundActive (uint64 handle) const |
| MCAPI bool | $wasSoundStoppedExplicitly (::ServerSoundHandle serverSoundHandle) const |
| MCAPI uint64 | $registerLoop (::SoundItem const &soundItem, ::std::weak_ptr<::SoundEvent > const soundEvent, ::std::string const &eventName, ::std::function< void(::LoopingSoundState &)> getSoundState, float fadeInDuration, float fadeOutDuration) |
| MCAPI void | $unregisterLoop (uint64 handle, bool hard) |
| MCAPI void | $displayDebugStats (::std::string &debugOutputFormat) const |
| MCAPI uint64 | $getNewSoundHandle () |
| MCAPI ::std::optional<::PlayingSoundAttributes > | $tryGetPlayingSoundAttributes (uint64 handle) const |
| MCAPI ::std::optional<::PlayingSoundAttributes > | $tryGetPlayingSoundAttributes (::ServerSoundHandle serverSoundHandle) const |
| MCAPI ::std::optional<::LoopingSoundAttributes > | $tryGetLoopingSoundAttributes (uint64 handle) const |
| MCAPI uint64 | $playOnlineMusic (::std::string const &eventName, ::WeakRef<::Audio::OnlineAudioStream > stream, float volume, ::Audio::SoundStartOptions startOptions) |
| MCAPI uint64 | $playOnlineMusic (::std::string const &eventName, ::SoundItem const &soundItem, ::WeakRef<::Audio::OnlineAudioStream > stream, ::Audio::SoundStartOptions startOptions) |
| MCAPI uint64 | $playOnlineSound (::WeakRef<::Audio::OnlineAudioStream > stream, float volume, float pitch, ::Audio::SoundStartOptions startOptions) |
| MCAPI uint64 | $playOnlineSound (::SoundEvent const &soundEvent, ::SoundItem const &soundItem, ::WeakRef<::Audio::OnlineAudioStream > stream, ::PlaySoundOptions const &options, ::Audio::SoundStartOptions startOptions) |
| MCAPI uint64 | $createRawUISoundStream (int bitDepth, int channels, float samplingRate) |
| MCAPI void | $closeRawUISoundStream (uint64 handle) |
| MCAPI void | $playRawUISoundStream (uint64 handle) |
| MCAPI void | $pauseRawUISoundStream (uint64 handle) |
| MCAPI void | $feedRawUISoundStream (uint64 handle, int samples, float **pcm, int channels) |
| MCAPI void | $endRawUISoundStream (uint64 handle) |
| MCAPI void | $setRawUISoundStreamVolume (uint64 handle, float volume) |
| MCAPI void | $flushRawUISoundStreamData (uint64 handle) |
| MCAPI bool | $_createSystem () |
| MCAPI bool | $_initSystem () |
| MCAPI void | $_updateSystem (float elapsedTime) |
| MCAPI void | $_destroySystem () |
| MCAPI void | $_updateListenerAttributes () |
| MCAPI void | $_setPositionalAttributes (::FMOD::Channel *channel, ::FMOD::Sound *sound, ::FMOD::Sound *soundToPlay, float x, float y, float z, float volume) |
| 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 | stopRecords () |
Static Public Member Functions | |
| static MCAPI void ** | $vftable () |
Public Attributes | |
| ::ll::TypedStorage< 8, 8, ::FMOD::System * > | mSystem |
| ::ll::TypedStorage< 8, 32, ::Bedrock::Owner< uint64 > > | mSoundUniqueID |
| ::ll::TypedStorage< 8, 40, ::SoundInstanceListFMOD > | mActiveSounds |
| ::ll::TypedStorage< 8, 64, ::std::unordered_map< uint64, ::std::unique_ptr<::SoundSystemFMOD::StreamInfo > > > | mStreamingSounds |
| ::ll::TypedStorage< 8, 8, uint64 > | mLoopingSoundUniqueID |
| ::ll::TypedStorage< 8, 8, uint64 > | mStreamingSoundUniqueID |
| ::ll::TypedStorage< 1, 1, bool > | mEnabled |
| ::ll::TypedStorage< 8, 8, ::FMOD::ChannelGroup * > | mPrimaryChannelGroup |
| ::ll::TypedStorage< 8, 8, ::FMOD::ChannelGroup * > | mSoundChannelGroup |
| ::ll::TypedStorage< 8, 8, ::FMOD::ChannelGroup * > | mMusicChannelGroup |
| ::ll::TypedStorage< 8, 8, ::FMOD::ChannelGroup * > | mTTSChannelGroup |
| ::ll::TypedStorage< 8, 16, ::std::map<::std::string, ::FMOD::ChannelGroup * > > | mSoundCategoryChannelGroups |
| ::ll::TypedStorage< 1, 1, ::FileSystemFMOD > | mFileSystem |
| ::ll::TypedStorage< 8, 16, ::gsl::not_null<::std::shared_ptr<::FMODSoundReleaseQueue > > const > | mSoundReleaseQueue |
| ::ll::TypedStorage< 8, 8, ::gsl::not_null<::std::unique_ptr<::SoundCacheFMOD > > const > | mSoundCache |
| ::ll::TypedStorage< 8, 8, ::ResourceLoader & > | mResourceLoader |
| ::ll::TypedStorage< 8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::Audio::IAudioAssetProvider const > > const > | mAudioAssetProvider |
| ::ll::TypedStorage< 8, 144, ::SoundLoaderFMOD > | mSoundLoader |
| ::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > | mDataUrl |
| ::ll::TypedStorage< 8, 8, uint64 > | mThreadMask |
| ::ll::TypedStorage< 8, 64, ::std::function< void(::SoundLoadTask)> > | mAsyncLoad |
| ::ll::TypedStorage< 4, 4, float > | mEvictionStatTimer |
| ::ll::TypedStorage< 8, 8, uint64 > | mCurrentEvictionRate |
| ::ll::UntypedStorage< 4, 4 > | mUnka195be |
| ::ll::UntypedStorage< 8, 64 > | mUnk9cb548 |
| MCAPI SoundSystemFMOD::SoundSystemFMOD | ( | ::ResourceLoader & | resourceLoader, |
| ::std::unique_ptr<::Audio::IAudioAssetProvider const > | audioAssetProvider, | ||
| ::Core::Path const & | tempFolderPath, | ||
| ::Core::Path const & | dataUrl, | ||
| uint64 | threadMask ) |
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
|
virtual |
Reimplemented from SoundSystemBase.
| MCAPI void SoundSystemFMOD::_loadSoundAsync | ( | ::SoundItem const & | soundItem, |
| ::SoundCacheKeyFMOD | soundCacheKey, | ||
| ::std::weak_ptr<::DiskSoundSourceFMOD > | weakSoundSource ) |
| MCAPI void SoundSystemFMOD::_loadSoundAsync | ( | ::Core::Path const & | soundPath, |
| ::std::unique_ptr<::Audio::IStreamableAudioAsset > | streamableAudioAsset, | ||
| ::SoundCacheKeyFMOD | soundCacheKey, | ||
| ::std::weak_ptr<::DiskSoundSourceFMOD > | weakSoundSource ) |
| MCAPI uint64 SoundSystemFMOD::_playAt | ( | ::Core::Path const & | soundPath, |
| ::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, | ||
| ::std::optional<::ServerSoundHandle > | serverSoundHandle, | ||
| int | loopCount, | ||
| float | volumeBase, | ||
| int | channelPriority ) |
| MCAPI uint64 SoundSystemFMOD::_playEvent | ( | ::SoundEvent const & | soundEvent, |
| ::std::string const & | eventName, | ||
| float | volumeScalar, | ||
| float | pitchScalar, | ||
| bool | is2D, | ||
| float | x, | ||
| float | y, | ||
| float | z, | ||
| ::std::optional<::ServerSoundHandle > | serverSoundHandle, | ||
| int | loopCount, | ||
| ::std::optional< float > | playbackPositionSeconds, | ||
| int | channelPriority ) |
| MCAPI void * SoundSystemFMOD::$ctor | ( | ::ResourceLoader & | resourceLoader, |
| ::std::unique_ptr<::Audio::IAudioAssetProvider const > | audioAssetProvider, | ||
| ::Core::Path const & | tempFolderPath, | ||
| ::Core::Path const & | dataUrl, | ||
| uint64 | threadMask ) |
| MCAPI bool SoundSystemFMOD::$preinit | ( | ) |
| MCAPI void SoundSystemFMOD::$init | ( | ) |
| MCAPI void SoundSystemFMOD::$destroy | ( | ) |
| MCAPI void SoundSystemFMOD::$setOutputDevice | ( | ::SoundSystemGUID & | outputDevice | ) |
| MCAPI void SoundSystemFMOD::$setAsyncLoadFunction | ( | ::std::function< void(::SoundLoadTask)> | asyncLoad | ) |
| MCAPI void SoundSystemFMOD::$enable | ( | bool | status | ) |
| MCAPI void SoundSystemFMOD::$mute | ( | bool | muted | ) |
| MCAPI bool SoundSystemFMOD::$addListener | ( | int const | handle | ) |
| MCAPI void SoundSystemFMOD::$removeListener | ( | int const | handle | ) |
| MCAPI void SoundSystemFMOD::$setMainVolume | ( | float | vol | ) |
| MCAPI void SoundSystemFMOD::$setMusicVolume | ( | float | vol | ) |
| MCAPI void SoundSystemFMOD::$setSoundVolume | ( | float | vol | ) |
| MCAPI void SoundSystemFMOD::$setSoundCategoryVolume | ( | ::std::string const & | category, |
| float | vol ) |
| MCAPI void SoundSystemFMOD::$setTTSVolume | ( | float | vol | ) |
| MCAPI bool SoundSystemFMOD::$loadRawFromMemory | ( | ::Core::Path const & | soundPath, |
| char const * | data, | ||
| uint64 | dataSize, | ||
| int | numchannels, | ||
| int | defaultfrequency, | ||
| ::SoundFormat | format ) |
| MCAPI bool SoundSystemFMOD::$loadFromMemory | ( | ::Core::Path const & | soundPath, |
| char const * | data, | ||
| uint64 | dataSize ) |
| MCAPI void SoundSystemFMOD::$unload | ( | ::Core::Path const & | soundPath | ) |
| MCAPI void SoundSystemFMOD::$unloadAllExcept | ( | ::std::vector<::Core::PathBuffer<::std::string > > const & | exceptions | ) |
| MCAPI void SoundSystemFMOD::$stop | ( | ::std::string const & | eventName | ) |
| MCAPI void SoundSystemFMOD::$stop | ( | uint64 | handle | ) |
| MCAPI void SoundSystemFMOD::$stop | ( | ::ServerSoundHandle | serverSoundHandle | ) |
| MCAPI void SoundSystemFMOD::$setVolume | ( | ::ServerSoundHandle | serverSoundHandle, |
| float | volume ) |
| MCAPI void SoundSystemFMOD::$setPitch | ( | ::ServerSoundHandle | serverSoundHandle, |
| float | pitch ) |
| MCAPI void SoundSystemFMOD::$fade | ( | ::ServerSoundHandle | serverSoundHandle, |
| float | duration, | ||
| float | targetVolume ) |
| MCAPI void SoundSystemFMOD::$setPlaybackPosition | ( | ::ServerSoundHandle | serverSoundHandle, |
| float | seconds ) |
| MCAPI void SoundSystemFMOD::$setPlaybackPosition | ( | uint64 | soundHandle, |
| float | seconds ) |
| MCAPI void SoundSystemFMOD::$pause | ( | ::ServerSoundHandle | serverSoundHandle, |
| ::SoundPauseSource | source ) |
| MCAPI void SoundSystemFMOD::$pause | ( | uint64 | soundHandle, |
| ::SoundPauseSource | source ) |
| MCAPI void SoundSystemFMOD::$resume | ( | ::ServerSoundHandle | serverSoundHandle, |
| ::SoundPauseSource | source ) |
| MCAPI void SoundSystemFMOD::$resume | ( | uint64 | soundHandle, |
| ::SoundPauseSource | source ) |
| MCAPI void SoundSystemFMOD::$signalStart | ( | uint64 | soundHandle | ) |
| MCAPI void SoundSystemFMOD::$stopAllSounds | ( | ) |
| MCAPI void SoundSystemFMOD::$pauseAllPlayingSounds | ( | ::SoundPauseSource | source | ) |
| MCAPI void SoundSystemFMOD::$resumeAllPreviouslyPlayingSounds | ( | ::SoundPauseSource | source | ) |
| MCAPI void SoundSystemFMOD::$fadeOut | ( | uint64 | handle, |
| float | duration ) const |
| MCAPI uint64 SoundSystemFMOD::$playEvent | ( | ::SoundEvent const & | soundEvent, |
| ::std::string const & | eventName, | ||
| float | volume, | ||
| float | pitch ) |
| MCAPI uint64 SoundSystemFMOD::$playEventAt | ( | ::SoundEvent const & | soundEvent, |
| ::std::string const & | eventName, | ||
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | volume, | ||
| float | pitch, | ||
| ::std::optional<::ServerSoundHandle > | serverSoundHandle ) |
| MCAPI uint64 SoundSystemFMOD::$playEventAt | ( | ::SoundEvent const & | soundEvent, |
| ::PlaySoundOptions const & | options ) |
| MCAPI uint64 SoundSystemFMOD::$playStreamableEventAt | ( | ::SoundEvent const & | soundEvent, |
| ::SoundItem const & | soundItem, | ||
| ::std::unique_ptr<::Audio::IStreamableAudioAsset > | streamableAudioAsset, | ||
| ::PlaySoundOptions const & | options ) |
| MCAPI uint64 SoundSystemFMOD::$playEventAttached | ( | ::SoundEvent const & | soundEvent, |
| ::std::string const & | eventName, | ||
| ::std::function< void(::SoundInstanceProperties &)> && | getSoundProperties ) |
| MCAPI uint64 SoundSystemFMOD::$playAt | ( | ::Core::Path const & | soundPath, |
| ::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, | ||
| ::std::optional<::ServerSoundHandle > | serverSoundHandle, | ||
| int | loopCount, | ||
| float | volumeBase ) |
| MCAPI void SoundSystemFMOD::$playMusic | ( | ::PlayMusicOptions | options, |
| ::SoundItem const & | soundItem ) |
| MCAPI uint64 SoundSystemFMOD::$playStreamableMusic | ( | ::std::string const & | eventName, |
| ::SoundItem const & | soundItem, | ||
| ::std::unique_ptr<::Audio::IStreamableAudioAsset > | streamableAudioAsset ) |
| MCAPI void SoundSystemFMOD::$pauseMusic | ( | bool | paused | ) |
| MCAPI void SoundSystemFMOD::$stopMusic | ( | ) |
| MCAPI void SoundSystemFMOD::$fadeMusicOut | ( | float | time | ) |
| MCAPI bool SoundSystemFMOD::$isMusicChannelPlaying | ( | ) | const |
| MCAPI bool SoundSystemFMOD::$isPlayingMusicEvent | ( | ::std::string const & | eventName | ) | const |
| MCAPI bool SoundSystemFMOD::$isPlayingMusic | ( | ::Core::PathView | soundPath | ) | const |
| MCAPI bool SoundSystemFMOD::$isLoadingMusic | ( | ) | const |
| MCAPI void SoundSystemFMOD::$cancelLoadMusic | ( | ) |
| MCAPI::Core::PathView SoundSystemFMOD::$getCurrentlyPlayingMusicPath | ( | ) | const |
| MCAPI::std::string SoundSystemFMOD::$getCurrentlyPlayingEventName | ( | ) | const |
| MCAPI void SoundSystemFMOD::$update | ( | float | elapsedTime | ) |
| MCAPI void SoundSystemFMOD::$playSound | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | volume, | ||
| float | pitch, | ||
| ::FMOD::ChannelGroup * | channelGroup, | ||
| ::FMOD::Channel *& | channel, | ||
| ::FMOD::Sound *& | soundToPlay, | ||
| bool | is3D, | ||
| float | minDistance, | ||
| float | maxDistance, | ||
| bool | useLegacyMaxDistance, | ||
| int | loopCount ) |
| MCAPI::FMOD::Sound * SoundSystemFMOD::$getFirstSubSound | ( | ::std::shared_ptr<::FMOD::Sound > const & | sound | ) | const |
| MCAPI bool SoundSystemFMOD::$isPlayingSound | ( | uint64 | handle | ) | const |
| MCAPI bool SoundSystemFMOD::$isPlayingSound | ( | ::Core::Path const & | soundPath | ) | const |
| MCAPI bool SoundSystemFMOD::$isPlayingSound | ( | ::ServerSoundHandle | serverSoundHandle | ) | const |
| MCAPI bool SoundSystemFMOD::$isSoundActive | ( | uint64 | handle | ) | const |
| MCAPI bool SoundSystemFMOD::$wasSoundStoppedExplicitly | ( | ::ServerSoundHandle | serverSoundHandle | ) | const |
| MCAPI uint64 SoundSystemFMOD::$registerLoop | ( | ::SoundItem const & | soundItem, |
| ::std::weak_ptr<::SoundEvent > const | soundEvent, | ||
| ::std::string const & | eventName, | ||
| ::std::function< void(::LoopingSoundState &)> | getSoundState, | ||
| float | fadeInDuration, | ||
| float | fadeOutDuration ) |
| MCAPI void SoundSystemFMOD::$unregisterLoop | ( | uint64 | handle, |
| bool | hard ) |
| MCAPI void SoundSystemFMOD::$displayDebugStats | ( | ::std::string & | debugOutputFormat | ) | const |
| MCAPI uint64 SoundSystemFMOD::$getNewSoundHandle | ( | ) |
| MCAPI ::std::optional<::PlayingSoundAttributes > SoundSystemFMOD::$tryGetPlayingSoundAttributes | ( | uint64 | handle | ) | const |
| MCAPI ::std::optional<::PlayingSoundAttributes > SoundSystemFMOD::$tryGetPlayingSoundAttributes | ( | ::ServerSoundHandle | serverSoundHandle | ) | const |
| MCAPI ::std::optional<::LoopingSoundAttributes > SoundSystemFMOD::$tryGetLoopingSoundAttributes | ( | uint64 | handle | ) | const |
| MCAPI uint64 SoundSystemFMOD::$playOnlineMusic | ( | ::std::string const & | eventName, |
| ::WeakRef<::Audio::OnlineAudioStream > | stream, | ||
| float | volume, | ||
| ::Audio::SoundStartOptions | startOptions ) |
| MCAPI uint64 SoundSystemFMOD::$playOnlineMusic | ( | ::std::string const & | eventName, |
| ::SoundItem const & | soundItem, | ||
| ::WeakRef<::Audio::OnlineAudioStream > | stream, | ||
| ::Audio::SoundStartOptions | startOptions ) |
| MCAPI uint64 SoundSystemFMOD::$playOnlineSound | ( | ::WeakRef<::Audio::OnlineAudioStream > | stream, |
| float | volume, | ||
| float | pitch, | ||
| ::Audio::SoundStartOptions | startOptions ) |
| MCAPI uint64 SoundSystemFMOD::$playOnlineSound | ( | ::SoundEvent const & | soundEvent, |
| ::SoundItem const & | soundItem, | ||
| ::WeakRef<::Audio::OnlineAudioStream > | stream, | ||
| ::PlaySoundOptions const & | options, | ||
| ::Audio::SoundStartOptions | startOptions ) |
| MCAPI uint64 SoundSystemFMOD::$createRawUISoundStream | ( | int | bitDepth, |
| int | channels, | ||
| float | samplingRate ) |
| MCAPI void SoundSystemFMOD::$closeRawUISoundStream | ( | uint64 | handle | ) |
| MCAPI void SoundSystemFMOD::$playRawUISoundStream | ( | uint64 | handle | ) |
| MCAPI void SoundSystemFMOD::$pauseRawUISoundStream | ( | uint64 | handle | ) |
| MCAPI void SoundSystemFMOD::$feedRawUISoundStream | ( | uint64 | handle, |
| int | samples, | ||
| float ** | pcm, | ||
| int | channels ) |
| MCAPI void SoundSystemFMOD::$endRawUISoundStream | ( | uint64 | handle | ) |
| MCAPI void SoundSystemFMOD::$setRawUISoundStreamVolume | ( | uint64 | handle, |
| float | volume ) |
| MCAPI void SoundSystemFMOD::$flushRawUISoundStreamData | ( | uint64 | handle | ) |
| MCAPI bool SoundSystemFMOD::$_createSystem | ( | ) |
| MCAPI bool SoundSystemFMOD::$_initSystem | ( | ) |
| MCAPI void SoundSystemFMOD::$_updateSystem | ( | float | elapsedTime | ) |
| MCAPI void SoundSystemFMOD::$_destroySystem | ( | ) |
| MCAPI void SoundSystemFMOD::$_updateListenerAttributes | ( | ) |
| MCAPI void SoundSystemFMOD::$_setPositionalAttributes | ( | ::FMOD::Channel * | channel, |
| ::FMOD::Sound * | sound, | ||
| ::FMOD::Sound * | soundToPlay, | ||
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | volume ) |
|
staticinherited |