Into the file: untz/src/native/sdl/UntzSystem.cpp line 110
- Code: Select all
- ........
- /* Open the audio device and start playing sound! */
- if ( SDL_OpenAudio(&fmt, NULL) < 0 ) {
- fprintf(stderr, "Unable to open audio: %s\n", SDL_GetError());
- }
- SDL_PauseAudio(0);
- while(true) { <--- HERE
- //SDL_Delay( 10 ) ;
- }
- return 0;
This "while" cause consuming 100% CPU.

