Page 1 of 1

Remove audio after played

Posted: Wed Jan 29, 2020 11:18 pm
by dhishii
Hi Tony,

I set up subtitles with 160 audio files (set to streaming/vorbis and compressed to about 4kb each) and the scene starts out stable, but the FPS gradually decreases as the audio clip count increases, and by the end of the conversation, the fps drops to ~20.

Do you know if there is a way to clear the audio file after it plays? Or is there another way to improve performance?

Thanks!

Before
Image
After
Image

Re: Remove audio after played

Posted: Thu Jan 30, 2020 7:51 am
by Tony Li
Hi,

Inspect your audio clips and change their Load Type to Streaming and Compression Type to PCM. Otherwise they'll stay in memory even after they're used. And if they were set to Decompress On Load, they'll be using the max amount of memory possible.