Files
armorpaint/base/sources/backends/wasm_audio.c
T

24 lines
330 B
C
Raw Normal View History

2025-01-18 15:46:37 +01:00
2025-03-09 17:02:12 +01:00
#ifdef IRON_A2
2025-01-18 15:46:37 +01:00
2025-02-26 18:46:36 +01:00
#include <iron_audio.h>
2024-11-10 22:11:29 +01:00
#include <stdlib.h>
2025-03-09 17:02:12 +01:00
static iron_a2_buffer_t a2_buffer;
2024-11-10 22:11:29 +01:00
2025-03-09 17:02:12 +01:00
void iron_a2_init() {
iron_a2_internal_init();
2024-11-10 22:11:29 +01:00
}
2025-03-09 17:02:12 +01:00
void iron_a2_update() {}
2024-11-10 22:11:29 +01:00
2025-03-09 17:02:12 +01:00
void iron_a2_shutdown() {}
2024-11-10 22:11:29 +01:00
static uint32_t samples_per_second = 44100;
2025-03-09 17:02:12 +01:00
uint32_t iron_a2_samples_per_second(void) {
2024-11-10 22:11:29 +01:00
return samples_per_second;
}
2025-01-18 15:46:37 +01:00
#endif