You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix WebAudio and HTML5 build
This commit is contained in:
@@ -32,20 +32,15 @@
|
||||
|
||||
#include "servers/audio_server.h"
|
||||
|
||||
#include "os/mutex.h"
|
||||
|
||||
class AudioDriverJavaScript : public AudioDriver {
|
||||
|
||||
enum {
|
||||
INTERNAL_BUFFER_SIZE = 4096,
|
||||
STREAM_SCALE_BITS = 12
|
||||
|
||||
};
|
||||
|
||||
int mix_rate;
|
||||
float *internal_buffer;
|
||||
int internal_buffer_channels;
|
||||
int internal_buffer_size;
|
||||
int32_t *stream_buffer;
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user