2 #ifndef _YI_SOUND_INSTANCE_H_ 3 #define _YI_SOUND_INSTANCE_H_ 52 void SetAsset(
const std::shared_ptr<CYIAssetSound> &pAssetSound);
80 std::shared_ptr<CYIAssetSound> m_pAssetSound;
91 #endif // _YI_SOUND_INSTANCE_H_ virtual ~CYISoundInstance()
CYISignal PlaybackCompleted
Definition: YiSoundInstance.h:77
Definition: YiMutex.h:110
Object representing a sound instance.
Definition: YiSoundInstance.h:21
virtual bool Process(CYIAudioEngine *pAudioEngine, float *pData, uint32_t uFrameCount) override
void SetLooping(bool bShouldLoop)
void SetVolume(float fVolume)
Asset representing sound PCM data.
Definition: YiAssetSound.h:17
Base audio stream class that can process raw audio PCM.
Definition: YiAudioStream.h:22
void SetAsset(const std::shared_ptr< CYIAssetSound > &pAssetSound)
Object responsible for processing audio streams and output to the platform.
Definition: YiAudioEngine.h:30
Signals and slots are a thread-safe and flexible communication framework that will allow various obje...
Definition: YiSignal.h:164