Change const to #define + cleanup

This commit is contained in:
2024-10-13 23:03:27 +08:00
parent 64195dd5a9
commit 988bc52e57
4 changed files with 15 additions and 16 deletions
+2
View File
@@ -3,6 +3,8 @@
#include <SDL2/SDL.h>
#define MAX_RECORDING_SECONDS 2
typedef struct audio_state {
int recording_device_id;
int playback_device_id;