basic audio stream.

This commit is contained in:
2025-02-01 23:58:55 -07:00
parent 36a428bcea
commit e0fc6123fc
8 changed files with 142 additions and 3 deletions

14
include/audio.h Normal file
View File

@ -0,0 +1,14 @@
#pragma once
#include <common.h>
typedef struct {
float sq1_freq;
float sq1_duty;
float sq1_amp;
float sq2_freq;
float sq2_duty;
float sq2_amp;
} audio_context;
void audio_init();