From 269f63b5d8a71712f587370f1e0c54660e4c55ab Mon Sep 17 00:00:00 2001 From: Arturs Artamonovs Date: Fri, 23 Jul 2021 18:20:00 +0100 Subject: Update code. change wasm part to match name . --- WasmAudio/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'WasmAudio/main.c') 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); -- cgit v1.2.3