Honor pitch_scale value before playing audio sample

(cherry picked from commit aaafd163b2)
This commit is contained in:
Adam Scott
2024-08-20 10:29:32 -04:00
committed by Rémi Verschelde
parent 2dd696867f
commit 219ddde30c
5 changed files with 11 additions and 4 deletions

View File

@@ -50,6 +50,7 @@ public:
Ref<AudioStream> stream;
float offset = 0.0f;
float pitch_scale = 1.0;
Vector<AudioFrame> volume_vector;
StringName bus;
};