123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648 |
- #include <os_common_api.h>
- #include <arithmetic.h>
- #ifndef CONFIG_AL_FORMAT_CHECK
- int as_decoder_format_check(void *storage_io, char extension[8])
- {
- SYS_LOG_WRN("this function not support");
- return AD_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_DECODER_AAC
- int as_decoder_ops_aac(void *hnd, asdec_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AD_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_DECODER_ACT
- int as_decoder_ops_act(void *hnd, asdec_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AD_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_DECODER_APE
- int as_decoder_ops_ape(void *hnd, asdec_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AD_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_DECODER_CVSD
- int as_decoder_ops_cvsd(void *hnd, asdec_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AD_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_DECODER_FLAC
- int as_decoder_ops_flac(void *hnd, asdec_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AD_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_DECODER_MP3
- int as_decoder_ops_mp3(void *hnd, asdec_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AD_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_DECODER_PCM
- int as_decoder_ops_pcm(void *hnd, asdec_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AD_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_DECODER_SBC
- int as_decoder_ops_sbc(void *hnd, asdec_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AD_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_DECODER_WAV
- int as_decoder_ops_wav(void *hnd, asdec_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AD_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_DECODER_WMA
- int as_decoder_ops_wma(void *hnd, asdec_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AD_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_ENCODER_CVSD
- int as_encoder_ops_cvsd(void *hnd, asenc_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AE_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_ENCODER_MP3
- int as_encoder_ops_mp2(void *hnd, asenc_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AE_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_ENCODER_OPUS
- int as_encoder_ops_opus(void *hnd, asenc_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AE_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_ENCODER_PCM
- int as_encoder_ops_pcm(void *hnd, asenc_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AE_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_ENCODER_SBC
- int as_encoder_ops_sbc(void *hnd, asenc_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AE_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_ENCODER_WAV
- int as_encoder_ops_wav(void *hnd, asenc_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AE_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_PARSER_MP3
- int as_parser_ops_mp3(void *hnd, asparse_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AP_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_PARSER_WAV
- int as_parser_ops_wav(void *hnd, asparse_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AP_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_PARSER_M4A
- int as_parser_ops_a13(void *hnd, asparse_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AP_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_PARSER_APE
- int as_parser_ops_ape(void *hnd, asparse_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AP_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_PARSER_FLAC
- int as_parser_ops_flac(void *hnd, asparse_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AP_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_PARSER_WMA
- int as_parser_ops_wma(void *hnd, asparse_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AP_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_HFP_PLC
- int hfp_plc_ops(void *hnd, plc_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return HS_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_HFP_SPEECH
- int hfp_speech_ops(void *hnd, hfp_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return HS_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_HFP_DAE
- int as_dae_h_ops(void *hnd, as_dae_h_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return DAE_H_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_MUSIC_DAE
- int as_dae_ops(void *hnd, as_dae_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return DAE_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_MUSIC_DAE_FADE
- int as_fade_p_ops(void *hnd, as_fade_p_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AS_FADE_P_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_AUDIO_MIX
- int as_mix_p_ops(void *hnd, as_mix_p_ex_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return AS_MIX_P_RET_UNEXPECTED;
- }
- #endif
- #ifndef CONFIG_RESAMPLE
- int as_res_ops(void *hnd, as_res_ops_cmd_t cmd, unsigned int args)
- {
- SYS_LOG_WRN("this function not support");
- return -1;
- }
- #endif
|