le_audio_interface.h
Go to the documentation of this file.
1 /*
2  * ====================== WARNING ======================
3  *
4  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
5  * DO NOT MODIFY IN ANY WAY.
6  *
7  * ====================== WARNING ======================
8  */
9 
608 #ifndef LE_AUDIO_INTERFACE_H_INCLUDE_GUARD
609 #define LE_AUDIO_INTERFACE_H_INCLUDE_GUARD
610 
611 
612 #include "legato.h"
613 
614 //--------------------------------------------------------------------------------------------------
618 //--------------------------------------------------------------------------------------------------
620 (
621  void
622 );
623 
624 //--------------------------------------------------------------------------------------------------
628 //--------------------------------------------------------------------------------------------------
630 (
631  void
632 );
633 
634 
635 //--------------------------------------------------------------------------------------------------
639 //--------------------------------------------------------------------------------------------------
640 typedef enum
641 {
644 
647 
650 
653 }
655 
656 
657 //--------------------------------------------------------------------------------------------------
661 //--------------------------------------------------------------------------------------------------
662 typedef enum
663 {
666 
669 
672 
675 
678 }
680 
681 
682 //--------------------------------------------------------------------------------------------------
686 //--------------------------------------------------------------------------------------------------
687 typedef enum
688 {
691 
694 
697 }
699 
700 
701 //--------------------------------------------------------------------------------------------------
705 //--------------------------------------------------------------------------------------------------
706 typedef enum
707 {
710 
713 
716 
719 
722 }
724 
725 
726 //--------------------------------------------------------------------------------------------------
730 //--------------------------------------------------------------------------------------------------
731 typedef enum
732 {
735 
738 
739  LE_AUDIO_FORMAT_MAX
740 }
742 
743 
744 //--------------------------------------------------------------------------------------------------
748 //--------------------------------------------------------------------------------------------------
749 typedef enum
750 {
753 
756 
759 
762 
765 
768 
771 
774 
777 
780 
783 
786 
789 
792 
795 
798 
801 
804 }
806 
807 
808 //--------------------------------------------------------------------------------------------------
812 //--------------------------------------------------------------------------------------------------
813 #define LE_AUDIO_DTMF_MAX_LEN 100
814 
815 
816 //--------------------------------------------------------------------------------------------------
821 //--------------------------------------------------------------------------------------------------
822 #define LE_AUDIO_DTMF_MAX_BYTES 101
823 
824 
825 //--------------------------------------------------------------------------------------------------
829 //--------------------------------------------------------------------------------------------------
830 #define LE_AUDIO_NO_FD -1
831 
832 
833 //--------------------------------------------------------------------------------------------------
837 //--------------------------------------------------------------------------------------------------
838 #define LE_AUDIO_GAIN_NAME_MAX_LEN 100
839 
840 
841 //--------------------------------------------------------------------------------------------------
846 //--------------------------------------------------------------------------------------------------
847 #define LE_AUDIO_GAIN_NAME_MAX_BYTES 101
848 
849 
850 //--------------------------------------------------------------------------------------------------
854 //--------------------------------------------------------------------------------------------------
855 typedef struct le_audio_Stream* le_audio_StreamRef_t;
856 
857 
858 //--------------------------------------------------------------------------------------------------
862 //--------------------------------------------------------------------------------------------------
863 typedef struct le_audio_Connector* le_audio_ConnectorRef_t;
864 
865 
866 //--------------------------------------------------------------------------------------------------
870 //--------------------------------------------------------------------------------------------------
871 typedef struct le_audio_MediaHandler* le_audio_MediaHandlerRef_t;
872 
873 
874 //--------------------------------------------------------------------------------------------------
878 //--------------------------------------------------------------------------------------------------
879 typedef struct le_audio_DtmfDetectorHandler* le_audio_DtmfDetectorHandlerRef_t;
880 
881 
882 //--------------------------------------------------------------------------------------------------
893 //--------------------------------------------------------------------------------------------------
894 typedef void (*le_audio_MediaHandlerFunc_t)
895 (
896  le_audio_StreamRef_t streamRef,
897  le_audio_MediaEvent_t event,
898  void* contextPtr
899 );
900 
901 
902 //--------------------------------------------------------------------------------------------------
913 //--------------------------------------------------------------------------------------------------
915 (
916  le_audio_StreamRef_t streamRef,
917  char dtmf,
918  void* contextPtr
919 );
920 
921 //--------------------------------------------------------------------------------------------------
927 //--------------------------------------------------------------------------------------------------
929 (
930  void
931 );
932 
933 //--------------------------------------------------------------------------------------------------
939 //--------------------------------------------------------------------------------------------------
941 (
942  void
943 );
944 
945 //--------------------------------------------------------------------------------------------------
951 //--------------------------------------------------------------------------------------------------
953 (
954  void
955 );
956 
957 //--------------------------------------------------------------------------------------------------
963 //--------------------------------------------------------------------------------------------------
965 (
966  void
967 );
968 
969 //--------------------------------------------------------------------------------------------------
975 //--------------------------------------------------------------------------------------------------
977 (
978  uint32_t timeslot
981 );
982 
983 //--------------------------------------------------------------------------------------------------
989 //--------------------------------------------------------------------------------------------------
991 (
992  uint32_t timeslot
995 );
996 
997 //--------------------------------------------------------------------------------------------------
1003 //--------------------------------------------------------------------------------------------------
1005 (
1009 );
1010 
1011 //--------------------------------------------------------------------------------------------------
1017 //--------------------------------------------------------------------------------------------------
1019 (
1023 );
1024 
1025 //--------------------------------------------------------------------------------------------------
1031 //--------------------------------------------------------------------------------------------------
1033 (
1034  void
1035 );
1036 
1037 //--------------------------------------------------------------------------------------------------
1043 //--------------------------------------------------------------------------------------------------
1045 (
1046  void
1047 );
1048 
1049 //--------------------------------------------------------------------------------------------------
1055 //--------------------------------------------------------------------------------------------------
1057 (
1058  void
1059 );
1060 
1061 //--------------------------------------------------------------------------------------------------
1067 //--------------------------------------------------------------------------------------------------
1069 (
1070  void
1071 );
1072 
1073 //--------------------------------------------------------------------------------------------------
1079 //--------------------------------------------------------------------------------------------------
1081 (
1082  le_audio_StreamRef_t streamRef,
1085 
1086  le_audio_MediaHandlerFunc_t handlerPtr,
1088 
1089  void* contextPtr
1091 );
1092 
1093 //--------------------------------------------------------------------------------------------------
1097 //--------------------------------------------------------------------------------------------------
1099 (
1100  le_audio_MediaHandlerRef_t addHandlerRef
1102 );
1103 
1104 //--------------------------------------------------------------------------------------------------
1113 //--------------------------------------------------------------------------------------------------
1114 void le_audio_Close
1115 (
1116  le_audio_StreamRef_t streamRef
1119 );
1120 
1121 //--------------------------------------------------------------------------------------------------
1136 //--------------------------------------------------------------------------------------------------
1138 (
1139  le_audio_StreamRef_t streamRef,
1142 
1143  uint32_t gain
1147 );
1148 
1149 //--------------------------------------------------------------------------------------------------
1163 //--------------------------------------------------------------------------------------------------
1165 (
1166  le_audio_StreamRef_t streamRef,
1169 
1170  uint32_t* gainPtr
1174 );
1175 
1176 //--------------------------------------------------------------------------------------------------
1187 //--------------------------------------------------------------------------------------------------
1189 (
1190  le_audio_StreamRef_t streamRef
1193 );
1194 
1195 //--------------------------------------------------------------------------------------------------
1206 //--------------------------------------------------------------------------------------------------
1208 (
1209  le_audio_StreamRef_t streamRef
1212 );
1213 
1214 //--------------------------------------------------------------------------------------------------
1220 //--------------------------------------------------------------------------------------------------
1222 (
1223  void
1224 );
1225 
1226 //--------------------------------------------------------------------------------------------------
1233 //--------------------------------------------------------------------------------------------------
1235 (
1236  le_audio_ConnectorRef_t connectorRef
1239 );
1240 
1241 //--------------------------------------------------------------------------------------------------
1253 //--------------------------------------------------------------------------------------------------
1255 (
1256  le_audio_ConnectorRef_t connectorRef,
1259 
1260  le_audio_StreamRef_t streamRef
1263 );
1264 
1265 //--------------------------------------------------------------------------------------------------
1272 //--------------------------------------------------------------------------------------------------
1274 (
1275  le_audio_ConnectorRef_t connectorRef,
1278 
1279  le_audio_StreamRef_t streamRef
1282 );
1283 
1284 //--------------------------------------------------------------------------------------------------
1290 //--------------------------------------------------------------------------------------------------
1292 (
1293  le_audio_StreamRef_t streamRef,
1296 
1299 
1300  void* contextPtr
1302 );
1303 
1304 //--------------------------------------------------------------------------------------------------
1308 //--------------------------------------------------------------------------------------------------
1310 (
1311  le_audio_DtmfDetectorHandlerRef_t addHandlerRef
1313 );
1314 
1315 //--------------------------------------------------------------------------------------------------
1324 //--------------------------------------------------------------------------------------------------
1326 (
1327  le_audio_StreamRef_t streamRef
1330 );
1331 
1332 //--------------------------------------------------------------------------------------------------
1341 //--------------------------------------------------------------------------------------------------
1343 (
1344  le_audio_StreamRef_t streamRef
1347 );
1348 
1349 //--------------------------------------------------------------------------------------------------
1358 //--------------------------------------------------------------------------------------------------
1360 (
1361  le_audio_StreamRef_t streamRef
1364 );
1365 
1366 //--------------------------------------------------------------------------------------------------
1375 //--------------------------------------------------------------------------------------------------
1377 (
1378  le_audio_StreamRef_t streamRef
1381 );
1382 
1383 //--------------------------------------------------------------------------------------------------
1392 //--------------------------------------------------------------------------------------------------
1394 (
1395  le_audio_StreamRef_t streamRef
1398 );
1399 
1400 //--------------------------------------------------------------------------------------------------
1409 //--------------------------------------------------------------------------------------------------
1411 (
1412  le_audio_StreamRef_t streamRef
1415 );
1416 
1417 //--------------------------------------------------------------------------------------------------
1426 //--------------------------------------------------------------------------------------------------
1428 (
1429  le_audio_StreamRef_t streamRef
1432 );
1433 
1434 //--------------------------------------------------------------------------------------------------
1443 //--------------------------------------------------------------------------------------------------
1445 (
1446  le_audio_StreamRef_t streamRef
1449 );
1450 
1451 //--------------------------------------------------------------------------------------------------
1460 //--------------------------------------------------------------------------------------------------
1462 (
1463  le_audio_StreamRef_t streamRef
1466 );
1467 
1468 //--------------------------------------------------------------------------------------------------
1477 //--------------------------------------------------------------------------------------------------
1479 (
1480  le_audio_StreamRef_t streamRef
1483 );
1484 
1485 //--------------------------------------------------------------------------------------------------
1493 //--------------------------------------------------------------------------------------------------
1495 (
1496  le_audio_Profile_t profile
1499 );
1500 
1501 //--------------------------------------------------------------------------------------------------
1509 //--------------------------------------------------------------------------------------------------
1511 (
1512  le_audio_Profile_t* profilePtr
1515 );
1516 
1517 //--------------------------------------------------------------------------------------------------
1526 //--------------------------------------------------------------------------------------------------
1528 (
1529  uint32_t rate
1532 );
1533 
1534 //--------------------------------------------------------------------------------------------------
1543 //--------------------------------------------------------------------------------------------------
1545 (
1546  uint32_t bitsPerSample
1549 );
1550 
1551 //--------------------------------------------------------------------------------------------------
1560 //--------------------------------------------------------------------------------------------------
1562 (
1563  le_audio_Companding_t companding
1566 );
1567 
1568 //--------------------------------------------------------------------------------------------------
1574 //--------------------------------------------------------------------------------------------------
1576 (
1577  void
1578 );
1579 
1580 //--------------------------------------------------------------------------------------------------
1586 //--------------------------------------------------------------------------------------------------
1588 (
1589  void
1590 );
1591 
1592 //--------------------------------------------------------------------------------------------------
1598 //--------------------------------------------------------------------------------------------------
1600 (
1601  void
1602 );
1603 
1604 //--------------------------------------------------------------------------------------------------
1610 //--------------------------------------------------------------------------------------------------
1612 (
1613  void
1614 );
1615 
1616 //--------------------------------------------------------------------------------------------------
1622 //--------------------------------------------------------------------------------------------------
1624 (
1625  void
1626 );
1627 
1628 //--------------------------------------------------------------------------------------------------
1648 //--------------------------------------------------------------------------------------------------
1650 (
1651  le_audio_StreamRef_t streamRef,
1654 
1655  int fd
1658 );
1659 
1660 //--------------------------------------------------------------------------------------------------
1674 //--------------------------------------------------------------------------------------------------
1676 (
1677  le_audio_StreamRef_t streamRef,
1680 
1681  int fd
1684 );
1685 
1686 //--------------------------------------------------------------------------------------------------
1701 //--------------------------------------------------------------------------------------------------
1703 (
1704  le_audio_StreamRef_t streamRef,
1707 
1708  int fd
1711 );
1712 
1713 //--------------------------------------------------------------------------------------------------
1726 //--------------------------------------------------------------------------------------------------
1728 (
1729  le_audio_StreamRef_t streamRef,
1732 
1733  int fd
1736 );
1737 
1738 //--------------------------------------------------------------------------------------------------
1748 //--------------------------------------------------------------------------------------------------
1750 (
1751  le_audio_StreamRef_t streamRef
1754 );
1755 
1756 //--------------------------------------------------------------------------------------------------
1764 //--------------------------------------------------------------------------------------------------
1766 (
1767  le_audio_StreamRef_t streamRef
1770 );
1771 
1772 //--------------------------------------------------------------------------------------------------
1780 //--------------------------------------------------------------------------------------------------
1782 (
1783  le_audio_StreamRef_t streamRef
1786 );
1787 
1788 //--------------------------------------------------------------------------------------------------
1796 //--------------------------------------------------------------------------------------------------
1798 (
1799  le_audio_StreamRef_t streamRef
1802 );
1803 
1804 //--------------------------------------------------------------------------------------------------
1812 //--------------------------------------------------------------------------------------------------
1814 (
1815  le_audio_StreamRef_t streamRef,
1818 
1819  uint32_t nbChannel
1822 );
1823 
1824 //--------------------------------------------------------------------------------------------------
1832 //--------------------------------------------------------------------------------------------------
1834 (
1835  le_audio_StreamRef_t streamRef,
1838 
1839  uint32_t* nbChannelPtr
1842 );
1843 
1844 //--------------------------------------------------------------------------------------------------
1852 //--------------------------------------------------------------------------------------------------
1854 (
1855  le_audio_StreamRef_t streamRef,
1858 
1859  uint32_t rate
1862 );
1863 
1864 //--------------------------------------------------------------------------------------------------
1872 //--------------------------------------------------------------------------------------------------
1874 (
1875  le_audio_StreamRef_t streamRef,
1878 
1879  uint32_t* ratePtr
1882 );
1883 
1884 //--------------------------------------------------------------------------------------------------
1892 //--------------------------------------------------------------------------------------------------
1894 (
1895  le_audio_StreamRef_t streamRef,
1898 
1899  uint32_t samplingRes
1902 );
1903 
1904 //--------------------------------------------------------------------------------------------------
1912 //--------------------------------------------------------------------------------------------------
1914 (
1915  le_audio_StreamRef_t streamRef,
1918 
1919  uint32_t* samplingResPtr
1922 );
1923 
1924 //--------------------------------------------------------------------------------------------------
1937 //--------------------------------------------------------------------------------------------------
1939 (
1940  le_audio_StreamRef_t streamRef,
1943 
1944  const char* dtmf,
1947 
1948  uint32_t duration,
1951 
1952  uint32_t pause
1955 );
1956 
1957 //--------------------------------------------------------------------------------------------------
1970 //--------------------------------------------------------------------------------------------------
1972 (
1973  const char* dtmf,
1976 
1977  uint32_t duration,
1980 
1981  uint32_t pause
1984 );
1985 
1986 //--------------------------------------------------------------------------------------------------
1994 //--------------------------------------------------------------------------------------------------
1996 (
1997  le_audio_StreamRef_t streamRef,
2000 
2001  le_audio_Format_t format
2004 );
2005 
2006 //--------------------------------------------------------------------------------------------------
2014 //--------------------------------------------------------------------------------------------------
2016 (
2017  le_audio_StreamRef_t streamRef,
2020 
2021  le_audio_Format_t* formatPtr
2024 );
2025 
2026 //--------------------------------------------------------------------------------------------------
2034 //--------------------------------------------------------------------------------------------------
2036 (
2037  le_audio_StreamRef_t streamRef,
2040 
2041  le_audio_AmrMode_t mode
2044 );
2045 
2046 //--------------------------------------------------------------------------------------------------
2054 //--------------------------------------------------------------------------------------------------
2056 (
2057  le_audio_StreamRef_t streamRef,
2060 
2061  le_audio_AmrMode_t* modePtr
2064 );
2065 
2066 //--------------------------------------------------------------------------------------------------
2074 //--------------------------------------------------------------------------------------------------
2076 (
2077  le_audio_StreamRef_t streamRef,
2080 
2081  bool dtx
2084 );
2085 
2086 //--------------------------------------------------------------------------------------------------
2094 //--------------------------------------------------------------------------------------------------
2096 (
2097  le_audio_StreamRef_t streamRef,
2100 
2101  bool* dtxPtr
2104 );
2105 
2106 //--------------------------------------------------------------------------------------------------
2117 //--------------------------------------------------------------------------------------------------
2119 (
2120  const char* gainName,
2123 
2124  uint32_t gain
2127 );
2128 
2129 //--------------------------------------------------------------------------------------------------
2139 //--------------------------------------------------------------------------------------------------
2141 (
2142  const char* gainName,
2145 
2146  uint32_t* gainPtr
2149 );
2150 
2151 
2152 #endif // LE_AUDIO_INTERFACE_H_INCLUDE_GUARD
2153 
le_result_t le_audio_SetSamplePcmSamplingRate(le_audio_StreamRef_t streamRef, uint32_t rate)
le_result_t le_audio_GetSamplePcmSamplingRate(le_audio_StreamRef_t streamRef, uint32_t *ratePtr)
le_result_t le_audio_DisableNoiseSuppressor(le_audio_StreamRef_t streamRef)
le_result_t le_audio_SetPlatformSpecificGain(const char *gainName, uint32_t gain)
Linear PCM.
Definition: le_audio_interface.h:695
le_result_t le_audio_Pause(le_audio_StreamRef_t streamRef)
le_result_t le_audio_PlayDtmf(le_audio_StreamRef_t streamRef, const char *dtmf, uint32_t duration, uint32_t pause)
uint32_t le_audio_GetPcmSamplingResolution(void)
le_result_t le_audio_SetSamplePcmChannelNumber(le_audio_StreamRef_t streamRef, uint32_t nbChannel)
le_result_t le_audio_GetSamplePcmChannelNumber(le_audio_StreamRef_t streamRef, uint32_t *nbChannelPtr)
le_result_t le_audio_DisableEchoCanceller(le_audio_StreamRef_t streamRef)
le_result_t le_audio_SetPcmSamplingRate(uint32_t rate)
le_result_t le_audio_RecordFile(le_audio_StreamRef_t streamRef, int fd)
MU-law PCM (i.e. North America and Japan).
Definition: le_audio_interface.h:692
le_result_t
Definition: le_basics.h:35
le_audio_StreamRef_t le_audio_OpenModemVoiceTx(void)
le_audio_MediaEvent_t
Definition: le_audio_interface.h:640
le_result_t le_audio_GetSampleAmrDtx(le_audio_StreamRef_t streamRef, bool *dtxPtr)
AMR Wideband in 14.25kbps.
Definition: le_audio_interface.h:787
le_audio_StreamRef_t le_audio_OpenI2sTx(le_audio_I2SChannel_t mode)
void(* le_audio_DtmfDetectorHandlerFunc_t)(le_audio_StreamRef_t streamRef, char dtmf, void *contextPtr)
Definition: le_audio_interface.h:915
le_audio_StreamRef_t le_audio_OpenI2sRx(le_audio_I2SChannel_t mode)
le_result_t le_audio_GetSamples(le_audio_StreamRef_t streamRef, int fd)
le_result_t le_audio_Flush(le_audio_StreamRef_t streamRef)
le_result_t le_audio_DisableIirFilter(le_audio_StreamRef_t streamRef)
struct le_audio_Stream * le_audio_StreamRef_t
Definition: le_audio_interface.h:855
AMR Narrowband in 7.4kbps (default value)
Definition: le_audio_interface.h:766
Waveform audio file.
Definition: le_audio_interface.h:733
USB profile.
Definition: le_audio_interface.h:676
Handset profile.
Definition: le_audio_interface.h:667
le_audio_StreamRef_t le_audio_OpenUsbTx(void)
Reverse mode (left & right reversed).
Definition: le_audio_interface.h:720
le_result_t le_audio_Connect(le_audio_ConnectorRef_t connectorRef, le_audio_StreamRef_t streamRef)
le_result_t le_audio_Unmute(le_audio_StreamRef_t streamRef)
AMR Wideband in 8.85kbps.
Definition: le_audio_interface.h:781
le_audio_StreamRef_t le_audio_OpenSpeaker(void)
struct le_audio_Connector * le_audio_ConnectorRef_t
Definition: le_audio_interface.h:863
Not set.
Definition: le_audio_interface.h:751
le_audio_Format_t
Definition: le_audio_interface.h:731
AMR Narrowband in 6.7kbps.
Definition: le_audio_interface.h:763
Enumerate max value.
Definition: le_audio_interface.h:651
le_result_t le_audio_EnableFirFilter(le_audio_StreamRef_t streamRef)
AMR Narrowband in 4.75kbps.
Definition: le_audio_interface.h:754
void le_audio_RemoveDtmfDetectorHandler(le_audio_DtmfDetectorHandlerRef_t addHandlerRef)
uint32_t le_audio_GetPcmSamplingRate(void)
Adaptive Multi Rate.
Definition: le_audio_interface.h:736
le_result_t le_audio_PlaySamples(le_audio_StreamRef_t streamRef, int fd)
le_audio_I2SChannel_t le_audio_GetDefaultI2sMode(void)
struct le_audio_DtmfDetectorHandler * le_audio_DtmfDetectorHandlerRef_t
Definition: le_audio_interface.h:879
AMR Narrowband in 10.3kbps.
Definition: le_audio_interface.h:772
le_result_t le_audio_DisableAutomaticGainControl(le_audio_StreamRef_t streamRef)
le_audio_ConnectorRef_t le_audio_CreateConnector(void)
AMR Narrowband in 5.9kbps.
Definition: le_audio_interface.h:760
le_result_t le_audio_PlayFile(le_audio_StreamRef_t streamRef, int fd)
le_audio_StreamRef_t le_audio_OpenPcmTx(uint32_t timeslot)
le_result_t le_audio_SetPcmCompanding(le_audio_Companding_t companding)
le_result_t le_audio_GetSamplePcmSamplingResolution(le_audio_StreamRef_t streamRef, uint32_t *samplingResPtr)
AMR Wideband in 23.85kbps.
Definition: le_audio_interface.h:802
le_audio_AmrMode_t
Definition: le_audio_interface.h:749
AMR Wideband in 18.25kbps.
Definition: le_audio_interface.h:793
Headset profile.
Definition: le_audio_interface.h:670
void(* le_audio_MediaHandlerFunc_t)(le_audio_StreamRef_t streamRef, le_audio_MediaEvent_t event, void *contextPtr)
Definition: le_audio_interface.h:895
le_audio_StreamRef_t le_audio_OpenModemVoiceRx(void)
AMR Narrowband in 5.15kbps.
Definition: le_audio_interface.h:757
le_audio_Profile_t
Definition: le_audio_interface.h:662
le_audio_StreamRef_t le_audio_OpenRecorder(void)
le_result_t le_audio_Resume(le_audio_StreamRef_t streamRef)
void le_audio_Close(le_audio_StreamRef_t streamRef)
AMR Wideband in 6.6kbps.
Definition: le_audio_interface.h:778
AMR Narrowband in 12.2kbps.
Definition: le_audio_interface.h:775
A-law PCM (i.e. Europe and most of the rest of the world).
Definition: le_audio_interface.h:689
AMR Narrowband in 7.95kbps.
Definition: le_audio_interface.h:769
le_audio_StreamRef_t le_audio_OpenPlayer(void)
void le_audio_DisconnectService(void)
uint32_t le_audio_GetDefaultPcmTimeSlot(void)
le_result_t le_audio_Stop(le_audio_StreamRef_t streamRef)
le_audio_StreamRef_t le_audio_OpenPcmRx(uint32_t timeslot)
le_audio_I2SChannel_t
Definition: le_audio_interface.h:706
AMR Wideband in 12.65kbps.
Definition: le_audio_interface.h:784
AMR Wideband in 23.05kbps.
Definition: le_audio_interface.h:799
Mono mode.
Definition: le_audio_interface.h:714
le_result_t le_audio_SetPcmSamplingResolution(uint32_t bitsPerSample)
Handsfree profile.
Definition: le_audio_interface.h:664
struct le_audio_MediaHandler * le_audio_MediaHandlerRef_t
Definition: le_audio_interface.h:871
AMR Wideband in 15.85kbps.
Definition: le_audio_interface.h:790
le_result_t le_audio_SetEncodingFormat(le_audio_StreamRef_t streamRef, le_audio_Format_t format)
le_audio_StreamRef_t le_audio_OpenUsbRx(void)
le_result_t le_audio_EnableEchoCanceller(le_audio_StreamRef_t streamRef)
le_result_t le_audio_SetSampleAmrMode(le_audio_StreamRef_t streamRef, le_audio_AmrMode_t mode)
Stereo mode.
Definition: le_audio_interface.h:717
le_result_t le_audio_DisableFirFilter(le_audio_StreamRef_t streamRef)
Recording/playback has encountered an error.
Definition: le_audio_interface.h:648
le_result_t le_audio_PlaySignallingDtmf(const char *dtmf, uint32_t duration, uint32_t pause)
Right channel.
Definition: le_audio_interface.h:711
void le_audio_ConnectService(void)
le_result_t le_audio_SetGain(le_audio_StreamRef_t streamRef, uint32_t gain)
le_audio_Companding_t
Definition: le_audio_interface.h:687
le_result_t le_audio_SetSampleAmrDtx(le_audio_StreamRef_t streamRef, bool dtx)
le_result_t le_audio_SetSamplePcmSamplingResolution(le_audio_StreamRef_t streamRef, uint32_t samplingRes)
Playback has reached the end of file.
Definition: le_audio_interface.h:642
le_audio_MediaHandlerRef_t le_audio_AddMediaHandler(le_audio_StreamRef_t streamRef, le_audio_MediaHandlerFunc_t handlerPtr, void *contextPtr)
AMR Wideband in 19.85kbps.
Definition: le_audio_interface.h:796
le_result_t le_audio_GetEncodingFormat(le_audio_StreamRef_t streamRef, le_audio_Format_t *formatPtr)
Left channel.
Definition: le_audio_interface.h:708
Teletypewriter profile (for hearing impaired use cases).
Definition: le_audio_interface.h:673
le_audio_Companding_t le_audio_GetPcmCompanding(void)
le_result_t le_audio_GetProfile(le_audio_Profile_t *profilePtr)
le_audio_DtmfDetectorHandlerRef_t le_audio_AddDtmfDetectorHandler(le_audio_StreamRef_t streamRef, le_audio_DtmfDetectorHandlerFunc_t handlerPtr, void *contextPtr)
void le_audio_Disconnect(le_audio_ConnectorRef_t connectorRef, le_audio_StreamRef_t streamRef)
le_result_t le_audio_SetProfile(le_audio_Profile_t profile)
void le_audio_DeleteConnector(le_audio_ConnectorRef_t connectorRef)
le_result_t le_audio_GetGain(le_audio_StreamRef_t streamRef, uint32_t *gainPtr)
No more audio samples to play.
Definition: le_audio_interface.h:645
le_result_t le_audio_EnableNoiseSuppressor(le_audio_StreamRef_t streamRef)
void le_audio_RemoveMediaHandler(le_audio_MediaHandlerRef_t addHandlerRef)
le_result_t le_audio_GetSampleAmrMode(le_audio_StreamRef_t streamRef, le_audio_AmrMode_t *modePtr)
le_audio_StreamRef_t le_audio_OpenMic(void)
le_result_t le_audio_GetPlatformSpecificGain(const char *gainName, uint32_t *gainPtr)
le_result_t le_audio_EnableIirFilter(le_audio_StreamRef_t streamRef)
le_result_t le_audio_EnableAutomaticGainControl(le_audio_StreamRef_t streamRef)
le_result_t le_audio_Mute(le_audio_StreamRef_t streamRef)