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
98
S
35
G
11
Posts: 289
Reputation: 13,087

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
403
S
238
G
89
Posts: 24,653
Reputation: 196,143

Post » Tue Sep 01, 2015 8:16 pm

Ok, thanks!
B
98
S
35
G
11
Posts: 289
Reputation: 13,087

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,996


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests