- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Infineon support team.
Our customer requests us AAC codec support for both A2DP/SINK and A2DP/SRC.
According to following thread, CYW20721 support AAC for A2DP/SINK. But no mention for A2DP/SRC.
https://community.infineon.com/t5/Studio-Bluetooth/Does-WICED-6-2-support-A2DP-AAC-codec-on-CYW20706...
https://community.infineon.com/t5/Bluetooth-SDK/The-kinds-of-bluetooth-audio-codec-of-CYW20721/td-p/...
Please tell me which BT chip support AAC codec for both A2DP/SINK and A2DP/SRC.
Thanks,
Tayo
- Labels:
-
WICED Studio Bluetooth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CYW20721 is the most powerful device for audio application. It can support AAC codec for A2DP sink and source application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Infineon Team
I got it.
For our reference, where can I find the source code or library for A2DP/SRC/AAC codec in BT SDK?
Thanks,
Tayo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can find the codec type in the wiced_bt_a2d.h
/* AV Media Codec Type (Audio Codec ID) */
#define A2D_MEDIA_CT_SBC 0x00 /* SBC media codec type */
#define A2D_MEDIA_CT_M12 0x01 /* MPEG-1, 2 Audio media codec type */
#define A2D_MEDIA_CT_M24 0x02 /* MPEG-2, 4 AAC media codec type */
#define A2D_MEDIA_CT_ATRAC 0x04 /* ATRAC family media codec type */
#define A2D_MEDIA_CT_VEND 0xFF /* Vendor specific */
#define A2D_MEDIA_CT_APTX A2D_MEDIA_CT_VEND /* APTX media codec type */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Infineon Team
Thank you for your comment. We can find the define as you mentioned.
However we don't understand the way to implement into our application code.
For example, in the case of A2DP/"SINK"/AAC, we can refer to following code in Audio_Headset_And_Speaker/wiced_app_cfg.c.
============================
wiced_app_cfg.c
/** A2DP sink configuration data */
wiced_bt_a2dp_config_data_t bt_audio_config = { skip
.ext_codec =
{
#ifdef A2DP_SINK_AAC_ENABLED
.codec_id = WICED_AUDIO_CODEC_AAC_DEC,
#ifndef CYW55572
/* 55572A1 has internal AAC-LC decoder, it doesn't need to use ia_aaclc_lib */
.codec_functions = &AAC_codec_function_table, #endif #else
.codec_id = WICED_AUDIO_CODEC_NONE,
.codec_functions = NULL,
#endif
}
=============================
In the other hand, in the case of A2DP/"SRC"/AAC, we can't find the reference code.
Please tell us the reference code for A2DP/"SRC"/AAC, like above.
Thanks,
Tayo