feat: add M4A/AAC support and update application version to dev43

This commit is contained in:
2025-12-06 23:06:32 -06:00
parent 5d9ce1fdb9
commit 8be23ca4fc
7 changed files with 204 additions and 27 deletions

21
include/m4a.h Normal file
View File

@@ -0,0 +1,21 @@
#ifndef M4A_H
#define M4A_H
#include "playback.h"
/**
* Set decoder parameters for M4A/AAC.
*
* \param decoder Structure to store parameters.
*/
void setM4a(struct decoder_fn* decoder);
/**
* Check if a file is an M4A/AAC/ALAC file.
*
* \param file File location.
* \return 0 on success, -1 on failure.
*/
int isM4a(const char* file);
#endif