mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix WebAudio and HTML5 build
This commit is contained in:
parent
fd89924ea5
commit
1a5d3c26db
6 changed files with 16 additions and 1119 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue