PopcornFX / O3DEPopcornFXPlugin

PopcornFX plugin for O3DE
https://www.popcornfx.com/
Other
13 stars 12 forks source link

Audio sampling #11

Open ValPKFX opened 2 years ago

ValPKFX commented 2 years ago

Implement the following functions in PopcornFX::CSceneInterface to be able to use the Audio Sampler.

// global audio spectrum functions
virtual TMemoryView<const float * const>    GetAudioSpectrum(CStringId channelGroup, u32 &outBaseCount) const;
virtual TMemoryView<const float * const>    GetAudioWaveform(CStringId channelGroup, u32 &outBaseCount) const;