mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 14:58:36 -07:00
Update apps
This commit is contained in:
@@ -4,9 +4,9 @@ App(
|
||||
apptype=FlipperAppType.EXTERNAL,
|
||||
entry_point="wav_player_app",
|
||||
stack_size=4 * 1024,
|
||||
order=46,
|
||||
fap_icon="wav_10px.png",
|
||||
fap_category="Media",
|
||||
fap_icon_assets="images",
|
||||
fap_author="@DrZlo13 & (ported, fixed by @xMasterX), (improved by @LTVA1)",
|
||||
fap_version="1.0",
|
||||
fap_description="Audio player for WAV files, recommended to convert files to unsigned 8-bit PCM stereo, but it may work with others too",
|
||||
|
||||
@@ -11,7 +11,7 @@ const char* format_text(FormatTag tag) {
|
||||
default:
|
||||
return "Unknown";
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
struct WavParser {
|
||||
WavHeaderChunk header;
|
||||
|
||||
@@ -86,4 +86,4 @@ size_t wav_parser_get_data_len(WavParser* parser);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -12,6 +12,7 @@
|
||||
#include "wav_player_view.h"
|
||||
#include <math.h>
|
||||
|
||||
#include "wav_player_icons.h"
|
||||
#include <assets_icons.h>
|
||||
|
||||
#define TAG "WavPlayer"
|
||||
|
||||
@@ -108,4 +108,4 @@ void wav_player_dma_start() {
|
||||
|
||||
void wav_player_dma_stop() {
|
||||
LL_DMA_DisableChannel(DMA_INSTANCE);
|
||||
}
|
||||
}
|
||||
@@ -199,4 +199,4 @@ void wav_player_view_set_ctrl_callback(WavPlayerView* wav_view, WavPlayerCtrlCal
|
||||
void wav_player_view_set_context(WavPlayerView* wav_view, void* context) {
|
||||
furi_assert(wav_view);
|
||||
wav_view->context = context;
|
||||
}
|
||||
}
|
||||
@@ -75,4 +75,4 @@ void wav_player_view_set_context(WavPlayerView* wav_view, void* context);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user