Fix WebAudio and HTML5 build

This commit is contained in:
Leon Krause 2017-11-04 20:24:06 +01:00
parent fd89924ea5
commit 1a5d3c26db
6 changed files with 16 additions and 1119 deletions

View file

@ -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: