Audio : Positional Sounds functions affects performance?

Discussion and feedback on Construct 2

Post » Tue Sep 01, 2015 6:12 am

Quick question if anyone knows this, but does the Audio Play at Object or any of the positional sound functionality affects performance? Or is it the same as playing a regular sound?
B
81
S
26
G
9
Posts: 244
Reputation: 10,616

Post » Tue Sep 01, 2015 10:53 am

Processing the audio to simulate the position certainly uses more CPU than playing a sound normally, but the difference may not matter to your game at all. Answer your own performance questions with measurements
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,464

Post » Tue Sep 01, 2015 8:16 pm

Ok, thanks!
B
81
S
26
G
9
Posts: 244
Reputation: 10,616

Post » Wed Sep 02, 2015 2:32 am

The only difference I've noticed is the first time a positioned sound is played, any game will hang for just a moment. After that, no troubles or anything, but the first one will cause a brief pause (or it has for multiple games for me). I just play a silent sound once at the start of the game before anything is visible to account for this.
B
103
S
38
G
19
Posts: 962
Reputation: 17,986


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests