1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

AudioDriverJavaScript now compute buffer size.

Based on mix rate and expected latency.

(cherry picked from commit 245c179bd3)
This commit is contained in:
Fabio Alessandrelli
2020-05-18 02:19:35 +02:00
committed by Rémi Verschelde
parent 8e91d2746d
commit 6d1ddf7eb1
2 changed files with 32 additions and 12 deletions

View File

@@ -50,6 +50,7 @@ public:
virtual Error init();
virtual void start();
void resume();
virtual float get_latency();
virtual int get_mix_rate() const;
virtual SpeakerMode get_speaker_mode() const;
virtual void lock();