Lines Matching full:codec
61 * @brief Codec capability types
63 * Used to build and parse codec capabilities as specified in the PAC specification.
76 /** Supported octets per codec frame */
79 /** Supported maximum codec frames per SDU */
216 /** struct to hold minimum and maximum supported codec frame sizes */
218 /** Minimum number of octets supported per codec frame */
220 /** Maximum number of octets supported per codec frame */
225 * @brief Codec configuration types
227 * Used to build and parse codec configurations as specified in the ASCS and BAP specifications.
240 /** Octets per codec frame */
243 /** Codec frame blocks per SDU */
247 /** Codec configuration sampling freqency */
249 /** 8 Khz codec sampling frequency */
252 /** 11.025 Khz codec sampling frequency */
255 /** 16 Khz codec sampling frequency */
258 /** 22.05 Khz codec sampling frequency */
261 /** 24 Khz codec sampling frequency */
264 /** 32 Khz codec sampling frequency */
267 /** 44.1 Khz codec sampling frequency */
270 /** 48 Khz codec sampling frequency */
273 /** 88.2 Khz codec sampling frequency */
276 /** 96 Khz codec sampling frequency */
279 /** 176.4 Khz codec sampling frequency */
282 /** 192 Khz codec sampling frequency */
285 /** 384 Khz codec sampling frequency */
289 /** Codec configuration frame duration */
428 * @brief Codec metadata type IDs
438 * If 0, the context type is not a preferred use case for this codec
450 * If 0, the context type is not a preferred use case for this codec
542 * @param _id Codec ID
545 * @param _data Codec Specific Data in LVT format
546 * @param _meta Codec Specific Metadata in LVT format
565 * @param _id Codec ID
568 * @param _data Codec Specific Data in LVT format
569 * @param _meta Codec Specific Metadata in LVT format
683 /** @brief Codec capability structure. */
697 /** Codec ID */
699 /** Codec Company ID */
701 /** Codec Company Vendor ID */
704 /** Codec Specific Capabilities Data count */
706 /** Codec Specific Capabilities Data */
710 /** Codec Specific Capabilities Metadata count */
712 /** Codec Specific Capabilities Metadata */
717 /** @brief Codec specific configuration structure. */
731 /** Codec ID */
733 /** Codec Company ID */
735 /** Codec Company Vendor ID */
738 /** Codec Specific Capabilities Data count */
740 /** Codec Specific Capabilities Data */
744 /** Codec Specific Capabilities Metadata count */
746 /** Codec Specific Capabilities Metadata */
814 * @brief Audio codec Config APIs
815 * @defgroup bt_audio_codec_cfg Codec config parsing APIs
817 * Functions to parse codec config data when formatted as LTV wrapped into @ref bt_audio_codec_cfg.
843 * @brief Extract the frequency from a codec configuration.
845 * @param codec_cfg The codec configuration to extract data from.
855 * @brief Set the frequency of a codec configuration.
857 * @param codec_cfg The codec configuration to set data for.
888 * @brief Extract frame duration from BT codec config
890 * @param codec_cfg The codec configuration to extract data from.
900 * @brief Set the frame duration of a codec configuration.
902 * @param codec_cfg The codec configuration to set data for.
913 * @brief Extract channel allocation from BT codec config
921 * @param codec_cfg The codec configuration to extract data from.
937 * @brief Set the channel allocation of a codec configuration.
939 * @param codec_cfg The codec configuration to set data for.
950 * @brief Extract frame size in octets from BT codec config
955 * the codec shall use this SDU size only. A codec like LC3 supports variable bit-rate
961 * @param codec_cfg The codec configuration to extract data from.
971 * @brief Set the octets per codec frame of a codec configuration.
973 * @param codec_cfg The codec configuration to set data for.
974 * @param octets_per_frame The octets per codec frame to set.
984 * @brief Extract number of audio frame blocks in each SDU from BT codec config
994 * @param codec_cfg The codec configuration to extract data from.
998 * @retval frame_blocks_per_sdu The count of codec frame blocks in each SDU.
1007 * @brief Set the frame blocks per SDU of a codec configuration.
1009 * @param codec_cfg The codec configuration to set data for.
1020 * @brief Lookup a specific codec configuration value
1022 * @param[in] codec_cfg The codec data to search in.
1034 * @brief Set or add a specific codec configuration value
1036 * @param codec_cfg The codec data to set the value in.
1050 * @brief Unset a specific codec configuration value
1052 * The type and the value will be removed from the codec configuration.
1054 * @param codec_cfg The codec data to set the value in.
1067 * @param[in] codec_cfg The codec data to search in.
1079 * @brief Set or add a specific codec configuration metadata value.
1081 * @param codec_cfg The codec configuration to set the value in.
1095 * @brief Unset a specific codec configuration metadata value
1097 * The type and the value will be removed from the codec configuration metadata.
1099 * @param codec_cfg The codec data to set the value in.
1112 * @param codec_cfg The codec data to search in.
1126 * @brief Set the preferred context of a codec configuration metadata.
1128 * @param codec_cfg The codec configuration to set data for.
1143 * @param codec_cfg The codec data to search in.
1153 * @brief Set the stream context of a codec configuration metadata.
1155 * @param codec_cfg The codec configuration to set data for.
1170 * @param[in] codec_cfg The codec data to search in.
1181 * @brief Set the program info of a codec configuration metadata.
1183 * @param codec_cfg The codec configuration to set data for.
1199 * @param[in] codec_cfg The codec data to search in.
1211 * @brief Set the language of a codec configuration metadata.
1213 * @param codec_cfg The codec configuration to set data for.
1228 * @param[in] codec_cfg The codec data to search in.
1239 * @brief Set the CCID list of a codec configuration metadata.
1241 * @param codec_cfg The codec configuration to set data for.
1257 * @param codec_cfg The codec data to search in.
1267 * @brief Set the parental rating of a codec configuration metadata.
1269 * @param codec_cfg The codec configuration to set data for.
1284 * @param[in] codec_cfg The codec data to search in.
1295 * @brief Set the program info URI of a codec configuration metadata.
1297 * @param codec_cfg The codec configuration to set data for.
1314 * @param codec_cfg The codec data to search in.
1324 * @brief Set the audio active state of a codec configuration metadata.
1326 * @param codec_cfg The codec configuration to set data for.
1341 * @param codec_cfg The codec data to search in.
1351 * @brief Set the broadcast audio immediate rendering flag of a codec configuration metadata.
1353 * @param codec_cfg The codec configuration to set data for.
1367 * @param codec_cfg The codec data to search in.
1378 * @brief Set the assisted listening stream value of a codec configuration metadata.
1380 * @param codec_cfg The codec configuration to set data for.
1395 * @param[in] codec_cfg The codec data to search in.
1406 * @brief Set the broadcast name of a codec configuration metadata.
1408 * @param codec_cfg The codec configuration to set data for.
1425 * @param[in] codec_cfg The codec data to search in.
1436 * @brief Set the extended metadata of a codec configuration metadata.
1438 * @param codec_cfg The codec configuration to set data for.
1454 * @param[in] codec_cfg The codec data to search in.
1465 * @brief Set the vendor specific metadata of a codec configuration metadata.
1467 * @param codec_cfg The codec configuration to set data for.
1480 * @brief Audio codec capabilities APIs
1481 * @defgroup bt_audio_codec_cap Codec capability parsing APIs
1483 * Functions to parse codec capability data when formatted as LTV wrapped into @ref
1492 * @param[in] codec_cap The codec data to search in.
1504 * @brief Set or add a specific codec capability value
1506 * @param codec_cap The codec data to set the value in.
1520 * @brief Unset a specific codec capability value
1522 * The type and the value will be removed from the codec capability.
1524 * @param codec_cap The codec data to set the value in.
1534 * @brief Extract the frequency from a codec capability.
1536 * @param codec_cap The codec capabilities to extract data from.
1547 * @brief Set the supported frequencies of a codec capability.
1549 * @param codec_cap The codec capabilities to set data for.
1560 * @brief Extract the frequency from a codec capability.
1562 * @param codec_cap The codec capabilities to extract data from.
1572 * @brief Set the frame duration of a codec capability.
1574 * @param codec_cap The codec capabilities to set data for.
1585 * @brief Extract the frequency from a codec capability.
1587 * @param codec_cap The codec capabilities to extract data from.
1600 * @brief Set the channel count of a codec capability.
1602 * @param codec_cap The codec capabilities to set data for.
1613 * @brief Extract the supported octets per codec frame from a codec capability.
1615 * @param[in] codec_cap The codec capabilities to extract data from.
1628 * @brief Set the octets per codec frame of a codec capability.
1630 * @param codec_cap The codec capabilities to set data for.
1631 * @param codec_frame The octets per codec frame to set.
1642 * @brief Extract the maximum codec frames per SDU from a codec capability.
1644 * @param codec_cap The codec capabilities to extract data from.
1648 * @retval codec_frames_per_sdu Maximum number of codec frames per SDU supported
1657 * @brief Set the maximum codec frames per SDU of a codec capability.
1659 * @param codec_cap The codec capabilities to set data for.
1660 * @param codec_frames_per_sdu The maximum codec frames per SDU to set.
1672 * @param[in] codec_cap The codec data to search in.
1684 * @brief Set or add a specific codec capability metadata value.
1686 * @param codec_cap The codec capability to set the value in.
1700 * @brief Unset a specific codec capability metadata value
1702 * The type and the value will be removed from the codec capability metadata.
1704 * @param codec_cap The codec data to set the value in.
1718 * @param codec_cap The codec data to search in.
1728 * @brief Set the preferred context of a codec capability metadata.
1730 * @param codec_cap The codec capability to set data for.
1745 * @param codec_cap The codec data to search in.
1755 * @brief Set the stream context of a codec capability metadata.
1757 * @param codec_cap The codec capability to set data for.
1772 * @param[in] codec_cap The codec data to search in.
1783 * @brief Set the program info of a codec capability metadata.
1785 * @param codec_cap The codec capability to set data for.
1801 * @param[in] codec_cap The codec data to search in.
1813 * @brief Set the language of a codec capability metadata.
1815 * @param codec_cap The codec capability to set data for.
1830 * @param[in] codec_cap The codec data to search in.
1841 * @brief Set the CCID list of a codec capability metadata.
1843 * @param codec_cap The codec capability to set data for.
1859 * @param codec_cap The codec data to search in.
1869 * @brief Set the parental rating of a codec capability metadata.
1871 * @param codec_cap The codec capability to set data for.
1886 * @param[in] codec_cap The codec data to search in.
1897 * @brief Set the program info URI of a codec capability metadata.
1899 * @param codec_cap The codec capability to set data for.
1916 * @param codec_cap The codec data to search in.
1926 * @brief Set the audio active state of a codec capability metadata.
1928 * @param codec_cap The codec capability to set data for.
1943 * @param codec_cap The codec data to search in.
1953 * @brief Set the broadcast audio immediate rendering flag of a codec capability metadata.
1955 * @param codec_cap The codec capability to set data for.
1969 * @param codec_cap The codec data to search in.
1980 * @brief Set the assisted listening stream value of a codec capability metadata.
1982 * @param codec_cap The codec capability to set data for.
1997 * @param[in] codec_cap The codec data to search in.
2008 * @brief Set the broadcast name of a codec capability metadata.
2010 * @param codec_cap The codec capability to set data for.
2026 * @param[in] codec_cap The codec data to search in.
2037 * @brief Set the extended metadata of a codec capability metadata.
2039 * @param codec_cap The codec capability to set data for.
2055 * @param[in] codec_cap The codec data to search in.
2066 * @brief Set the vendor specific metadata of a codec capability metadata.
2068 * @param codec_cap The codec capability to set data for.