Stand vor Protokollumbau

This commit is contained in:
2026-03-01 11:11:56 +01:00
parent c914333236
commit 4d88194f7d
17 changed files with 624 additions and 79 deletions

View File

@@ -243,6 +243,8 @@ void audio_thread(void *arg1, void *arg2, void *arg3)
continue;
}
ssize_t file_size = fs_get_audio_data_len(&file);
LOG_INF("Playing: %s", filename);
io_status(true);
@@ -269,7 +271,7 @@ void audio_thread(void *arg1, void *arg2, void *arg3)
break;
}
ssize_t bytes_read = fs_read(&file, block, AUDIO_BLOCK_SIZE / 2);
ssize_t bytes_read = fs_read_audio(&file, block, AUDIO_BLOCK_SIZE / 2, file_size);
if (bytes_read <= 0)
{