diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-10-12 06:14:14 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-10-12 06:14:14 +0200 |
| commit | 39bd41ad4d4832d4022a99e3cfcc49409f8b2da6 (patch) | |
| tree | 051b355fa3ea5cfcceb2b63efba0bbdf13970ee9 /synth.c | |
| parent | 920bdc358831087c46db736120a718ed9a75fbd4 (diff) | |
| download | ttdaw-39bd41ad4d4832d4022a99e3cfcc49409f8b2da6.tar.gz | |
Added basic interface and keyboard capture of terminal
Diffstat (limited to 'synth.c')
| -rw-r--r-- | synth.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,6 +4,7 @@ #include "synth.h" #include "mutex.h" #include "minisdl_audio.h" +#include "termbox2.h" #define TSF_IMPLEMENTATION #include "tsf.h" @@ -73,7 +74,7 @@ void *synth(void *arg) { SDL_UnlockMutex(g_Mutex); - printf("Consumed: note=%d, state=%d velocity:%d\n", shared_data.note, shared_data.state, shared_data.velocity); + /* printf("Consumed: note=%d, state=%d velocity:%d\n", shared_data.note, shared_data.state, shared_data.velocity); */ // Reset state to indicate data has been consumed. shared_data.action = 0; |
