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

View File

@@ -6,7 +6,9 @@ enum file_types
FILE_TYPE_VORBIS,
FILE_TYPE_OPUS,
FILE_TYPE_MP3,
FILE_TYPE_SID
FILE_TYPE_SID,
FILE_TYPE_M4A,
FILE_TYPE_AAC
};
/**

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

View File

@@ -13,7 +13,7 @@
#define mice_main_h
/* Application version */
#define MICE_VERSION "dev37"
#define MICE_VERSION "dev43"
/* Default folder */
#define DEFAULT_DIR "sdmc:/"