paint: add sounds tab

This commit is contained in:
luboslenco
2026-07-05 17:24:59 +02:00
parent 054677afbb
commit 57a77f38e0
24 changed files with 419 additions and 81 deletions
+3 -2
View File
@@ -867,13 +867,14 @@ gpu_texture_t *iron_load_texture(char *file) {
return gpu_create_texture_from_encoded_bytes(&buf, file);
}
#ifdef IRON_AUDIO
void *iron_load_sound(char *file) {
#ifdef IRON_AUDIO
iron_a1_init();
iron_a1_sound_t *sound = iron_a1_sound_create(file);
return sound;
}
#endif
return NULL;
}
buffer_t *iron_load_blob(char *file) {
#ifdef WITH_EMBED