diff options
Diffstat (limited to 'WasmAudio/main.c')
-rw-r--r-- | WasmAudio/main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/WasmAudio/main.c b/WasmAudio/main.c index 2ab9449..e3c094b 100644 --- a/WasmAudio/main.c +++ b/WasmAudio/main.c @@ -72,8 +72,6 @@ static double process_buf[process_buf_size+100]; static double process_buf2[process_buf_size+100]; uint8_t *audio_rec_buffer=NULL; - - FILE *f_1,*f_2; fir_t fir_lp; firw_t firw_lp; @@ -457,7 +455,7 @@ int main(int argc, const char * argv[]) { printf("Prepare SDL2 window\n"); SDL_GL_SetAttribute( SDL_GL_CONTEXT_MAJOR_VERSION, 2 ); SDL_GL_SetAttribute( SDL_GL_CONTEXT_MINOR_VERSION, 1 ); - window = SDL_CreateWindow("KOH", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, SCREEN_WIDTH, SCREEN_HEIGHT, SDL_WINDOW_OPENGL|SDL_WINDOW_SHOWN); + window = SDL_CreateWindow("WASM FIR", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, SCREEN_WIDTH, SCREEN_HEIGHT, SDL_WINDOW_OPENGL|SDL_WINDOW_SHOWN); renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED); SDL_SetRenderDrawColor(renderer, 0xff, 0xaa, 0xaa, 0xaa); SDL_GLContext gl_context = SDL_GL_CreateContext(window); |