28 class StrmSoundHandle :
private ut::NonCopyable
34 ~StrmSoundHandle() { DetachSound(); }
35 bool IsAttachedSound()
const {
return mSound !=
nullptr; }
39 void SetVolume(ulong trackFlags, f32 volume,
int fadeFrames) {
40 if (IsAttachedSound())
41 mSound->SetTrackVolume(trackFlags, volume, fadeFrames);