mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-10-17 10:55:06 +00:00
USB Audio Class (UAC) output Audio codec re-binding Keyboard / Bluetooth HID HID Consumer Control (media keys) Symbol exports Other fixes IMU-based screen auto-rotate See PR for details: https://github.com/TactilityProject/Tactility/pull/655
23 lines
774 B
C
23 lines
774 B
C
// SPDX-License-Identifier: Apache-2.0
|
|
#include <tactility/module.h>
|
|
|
|
#ifdef ESP_PLATFORM
|
|
|
|
#include <esp_audio_simple_dec.h>
|
|
|
|
// The software decoders live in the esp_audio_codec component and are registered once at
|
|
// module start (source/module.cpp), so apps never register decoders themselves.
|
|
const struct ModuleSymbol audio_stream_module_symbols[] = {
|
|
DEFINE_MODULE_SYMBOL(esp_audio_simple_dec_open),
|
|
DEFINE_MODULE_SYMBOL(esp_audio_simple_dec_close),
|
|
DEFINE_MODULE_SYMBOL(esp_audio_simple_dec_process),
|
|
DEFINE_MODULE_SYMBOL(esp_audio_simple_dec_get_info),
|
|
MODULE_SYMBOL_TERMINATOR
|
|
};
|
|
|
|
#else // !ESP_PLATFORM: no decoder exports outside the ESP build
|
|
|
|
const struct ModuleSymbol audio_stream_module_symbols[] = {
|
|
MODULE_SYMBOL_TERMINATOR
|
|
};
|
|
#endif |