diff options
author | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2021-07-23 18:20:00 +0100 |
---|---|---|
committer | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2021-07-23 18:20:00 +0100 |
commit | 269f63b5d8a71712f587370f1e0c54660e4c55ab (patch) | |
tree | 7605121eeb8363521d15c0603ecf33a013e9047b /WasmAudio/main.c | |
parent | e4619445203c9b17788cbcedeac4f4918b2ac2b3 (diff) | |
download | WasmAudio-269f63b5d8a71712f587370f1e0c54660e4c55ab.tar.gz WasmAudio-269f63b5d8a71712f587370f1e0c54660e4c55ab.zip |
Update code. change wasm part to match name .
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); |