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 
320 #ifndef LE_AUDIO_INTERFACE_H_INCLUDE_GUARD
321 #define LE_AUDIO_INTERFACE_H_INCLUDE_GUARD
322 
323 
324 #include "legato.h"
325 
326 //--------------------------------------------------------------------------------------------------
337 //--------------------------------------------------------------------------------------------------
339 (
340  void
341 );
342 
343 //--------------------------------------------------------------------------------------------------
354 //--------------------------------------------------------------------------------------------------
356 (
357  void
358 );
359 
360 
361 //--------------------------------------------------------------------------------------------------
365 //--------------------------------------------------------------------------------------------------
366 typedef enum
367 {
370 
373 
376 
379 }
381 
382 
383 //--------------------------------------------------------------------------------------------------
387 //--------------------------------------------------------------------------------------------------
388 typedef enum
389 {
392 
395 
398 
401 
404 }
406 
407 
408 //--------------------------------------------------------------------------------------------------
412 //--------------------------------------------------------------------------------------------------
413 typedef enum
414 {
417 
420 
423 }
425 
426 
427 //--------------------------------------------------------------------------------------------------
431 //--------------------------------------------------------------------------------------------------
432 typedef enum
433 {
436 
439 
442 
445 
448 }
450 
451 
452 //--------------------------------------------------------------------------------------------------
456 //--------------------------------------------------------------------------------------------------
457 typedef enum
458 {
461 
464 
465  LE_AUDIO_FORMAT_MAX
466 }
468 
469 
470 //--------------------------------------------------------------------------------------------------
474 //--------------------------------------------------------------------------------------------------
475 typedef enum
476 {
479 
482 
485 
488 
491 
494 
497 
500 
503 
506 
509 
512 
515 
518 
521 
524 
527 
530 }
532 
533 
534 //--------------------------------------------------------------------------------------------------
538 //--------------------------------------------------------------------------------------------------
539 #define LE_AUDIO_DTMF_MAX_LEN 100
540 
541 
542 //--------------------------------------------------------------------------------------------------
547 //--------------------------------------------------------------------------------------------------
548 #define LE_AUDIO_DTMF_MAX_BYTES 101
549 
550 
551 //--------------------------------------------------------------------------------------------------
555 //--------------------------------------------------------------------------------------------------
556 #define LE_AUDIO_NO_FD -1
557 
558 
559 //--------------------------------------------------------------------------------------------------
563 //--------------------------------------------------------------------------------------------------
564 #define LE_AUDIO_GAIN_NAME_MAX_LEN 100
565 
566 
567 //--------------------------------------------------------------------------------------------------
572 //--------------------------------------------------------------------------------------------------
573 #define LE_AUDIO_GAIN_NAME_MAX_BYTES 101
574 
575 
576 //--------------------------------------------------------------------------------------------------
580 //--------------------------------------------------------------------------------------------------
581 typedef struct le_audio_Stream* le_audio_StreamRef_t;
582 
583 
584 //--------------------------------------------------------------------------------------------------
588 //--------------------------------------------------------------------------------------------------
589 typedef struct le_audio_Connector* le_audio_ConnectorRef_t;
590 
591 
592 //--------------------------------------------------------------------------------------------------
596 //--------------------------------------------------------------------------------------------------
597 typedef struct le_audio_MediaHandler* le_audio_MediaHandlerRef_t;
598 
599 
600 //--------------------------------------------------------------------------------------------------
604 //--------------------------------------------------------------------------------------------------
605 typedef struct le_audio_DtmfDetectorHandler* le_audio_DtmfDetectorHandlerRef_t;
606 
607 
608 //--------------------------------------------------------------------------------------------------
619 //--------------------------------------------------------------------------------------------------
620 typedef void (*le_audio_MediaHandlerFunc_t)
621 (
622  le_audio_StreamRef_t streamRef,
623  le_audio_MediaEvent_t event,
624  void* contextPtr
625 );
626 
627 
628 //--------------------------------------------------------------------------------------------------
639 //--------------------------------------------------------------------------------------------------
641 (
642  le_audio_StreamRef_t streamRef,
643  char dtmf,
644  void* contextPtr
645 );
646 
647 //--------------------------------------------------------------------------------------------------
653 //--------------------------------------------------------------------------------------------------
655 (
656  void
657 );
658 
659 //--------------------------------------------------------------------------------------------------
665 //--------------------------------------------------------------------------------------------------
667 (
668  void
669 );
670 
671 //--------------------------------------------------------------------------------------------------
677 //--------------------------------------------------------------------------------------------------
679 (
680  void
681 );
682 
683 //--------------------------------------------------------------------------------------------------
689 //--------------------------------------------------------------------------------------------------
691 (
692  void
693 );
694 
695 //--------------------------------------------------------------------------------------------------
701 //--------------------------------------------------------------------------------------------------
703 (
704  uint32_t timeslot
707 );
708 
709 //--------------------------------------------------------------------------------------------------
715 //--------------------------------------------------------------------------------------------------
717 (
718  uint32_t timeslot
721 );
722 
723 //--------------------------------------------------------------------------------------------------
729 //--------------------------------------------------------------------------------------------------
731 (
735 );
736 
737 //--------------------------------------------------------------------------------------------------
743 //--------------------------------------------------------------------------------------------------
745 (
749 );
750 
751 //--------------------------------------------------------------------------------------------------
757 //--------------------------------------------------------------------------------------------------
759 (
760  void
761 );
762 
763 //--------------------------------------------------------------------------------------------------
769 //--------------------------------------------------------------------------------------------------
771 (
772  void
773 );
774 
775 //--------------------------------------------------------------------------------------------------
781 //--------------------------------------------------------------------------------------------------
783 (
784  void
785 );
786 
787 //--------------------------------------------------------------------------------------------------
793 //--------------------------------------------------------------------------------------------------
795 (
796  void
797 );
798 
799 //--------------------------------------------------------------------------------------------------
805 //--------------------------------------------------------------------------------------------------
807 (
808  le_audio_StreamRef_t streamRef,
811 
812  le_audio_MediaHandlerFunc_t handlerPtr,
814 
815  void* contextPtr
817 );
818 
819 //--------------------------------------------------------------------------------------------------
823 //--------------------------------------------------------------------------------------------------
825 (
826  le_audio_MediaHandlerRef_t addHandlerRef
828 );
829 
830 //--------------------------------------------------------------------------------------------------
839 //--------------------------------------------------------------------------------------------------
840 void le_audio_Close
841 (
842  le_audio_StreamRef_t streamRef
845 );
846 
847 //--------------------------------------------------------------------------------------------------
859 //--------------------------------------------------------------------------------------------------
861 (
862  le_audio_StreamRef_t streamRef,
865 
866  int32_t gain
869 );
870 
871 //--------------------------------------------------------------------------------------------------
882 //--------------------------------------------------------------------------------------------------
884 (
885  le_audio_StreamRef_t streamRef,
888 
889  int32_t* gainPtr
892 );
893 
894 //--------------------------------------------------------------------------------------------------
905 //--------------------------------------------------------------------------------------------------
907 (
908  le_audio_StreamRef_t streamRef
911 );
912 
913 //--------------------------------------------------------------------------------------------------
924 //--------------------------------------------------------------------------------------------------
926 (
927  le_audio_StreamRef_t streamRef
930 );
931 
932 //--------------------------------------------------------------------------------------------------
938 //--------------------------------------------------------------------------------------------------
940 (
941  void
942 );
943 
944 //--------------------------------------------------------------------------------------------------
951 //--------------------------------------------------------------------------------------------------
953 (
954  le_audio_ConnectorRef_t connectorRef
957 );
958 
959 //--------------------------------------------------------------------------------------------------
971 //--------------------------------------------------------------------------------------------------
973 (
974  le_audio_ConnectorRef_t connectorRef,
977 
978  le_audio_StreamRef_t streamRef
981 );
982 
983 //--------------------------------------------------------------------------------------------------
990 //--------------------------------------------------------------------------------------------------
992 (
993  le_audio_ConnectorRef_t connectorRef,
996 
997  le_audio_StreamRef_t streamRef
1000 );
1001 
1002 //--------------------------------------------------------------------------------------------------
1008 //--------------------------------------------------------------------------------------------------
1010 (
1011  le_audio_StreamRef_t streamRef,
1014 
1017 
1018  void* contextPtr
1020 );
1021 
1022 //--------------------------------------------------------------------------------------------------
1026 //--------------------------------------------------------------------------------------------------
1028 (
1029  le_audio_DtmfDetectorHandlerRef_t addHandlerRef
1031 );
1032 
1033 //--------------------------------------------------------------------------------------------------
1042 //--------------------------------------------------------------------------------------------------
1044 (
1045  le_audio_StreamRef_t streamRef
1048 );
1049 
1050 //--------------------------------------------------------------------------------------------------
1059 //--------------------------------------------------------------------------------------------------
1061 (
1062  le_audio_StreamRef_t streamRef
1065 );
1066 
1067 //--------------------------------------------------------------------------------------------------
1076 //--------------------------------------------------------------------------------------------------
1078 (
1079  le_audio_StreamRef_t streamRef
1082 );
1083 
1084 //--------------------------------------------------------------------------------------------------
1093 //--------------------------------------------------------------------------------------------------
1095 (
1096  le_audio_StreamRef_t streamRef
1099 );
1100 
1101 //--------------------------------------------------------------------------------------------------
1110 //--------------------------------------------------------------------------------------------------
1112 (
1113  le_audio_StreamRef_t streamRef
1116 );
1117 
1118 //--------------------------------------------------------------------------------------------------
1127 //--------------------------------------------------------------------------------------------------
1129 (
1130  le_audio_StreamRef_t streamRef
1133 );
1134 
1135 //--------------------------------------------------------------------------------------------------
1144 //--------------------------------------------------------------------------------------------------
1146 (
1147  le_audio_StreamRef_t streamRef
1150 );
1151 
1152 //--------------------------------------------------------------------------------------------------
1161 //--------------------------------------------------------------------------------------------------
1163 (
1164  le_audio_StreamRef_t streamRef
1167 );
1168 
1169 //--------------------------------------------------------------------------------------------------
1178 //--------------------------------------------------------------------------------------------------
1180 (
1181  le_audio_StreamRef_t streamRef
1184 );
1185 
1186 //--------------------------------------------------------------------------------------------------
1195 //--------------------------------------------------------------------------------------------------
1197 (
1198  le_audio_StreamRef_t streamRef
1201 );
1202 
1203 //--------------------------------------------------------------------------------------------------
1211 //--------------------------------------------------------------------------------------------------
1213 (
1214  le_audio_Profile_t profile
1217 );
1218 
1219 //--------------------------------------------------------------------------------------------------
1227 //--------------------------------------------------------------------------------------------------
1229 (
1230  le_audio_Profile_t* profilePtr
1233 );
1234 
1235 //--------------------------------------------------------------------------------------------------
1244 //--------------------------------------------------------------------------------------------------
1246 (
1247  uint32_t rate
1250 );
1251 
1252 //--------------------------------------------------------------------------------------------------
1261 //--------------------------------------------------------------------------------------------------
1263 (
1264  uint32_t bitsPerSample
1267 );
1268 
1269 //--------------------------------------------------------------------------------------------------
1278 //--------------------------------------------------------------------------------------------------
1280 (
1281  le_audio_Companding_t companding
1284 );
1285 
1286 //--------------------------------------------------------------------------------------------------
1292 //--------------------------------------------------------------------------------------------------
1294 (
1295  void
1296 );
1297 
1298 //--------------------------------------------------------------------------------------------------
1304 //--------------------------------------------------------------------------------------------------
1306 (
1307  void
1308 );
1309 
1310 //--------------------------------------------------------------------------------------------------
1316 //--------------------------------------------------------------------------------------------------
1318 (
1319  void
1320 );
1321 
1322 //--------------------------------------------------------------------------------------------------
1328 //--------------------------------------------------------------------------------------------------
1330 (
1331  void
1332 );
1333 
1334 //--------------------------------------------------------------------------------------------------
1340 //--------------------------------------------------------------------------------------------------
1342 (
1343  void
1344 );
1345 
1346 //--------------------------------------------------------------------------------------------------
1370 //--------------------------------------------------------------------------------------------------
1372 (
1373  le_audio_StreamRef_t streamRef,
1376 
1377  int fd
1380 );
1381 
1382 //--------------------------------------------------------------------------------------------------
1396 //--------------------------------------------------------------------------------------------------
1398 (
1399  le_audio_StreamRef_t streamRef,
1402 
1403  int fd
1406 );
1407 
1408 //--------------------------------------------------------------------------------------------------
1423 //--------------------------------------------------------------------------------------------------
1425 (
1426  le_audio_StreamRef_t streamRef,
1429 
1430  int fd
1433 );
1434 
1435 //--------------------------------------------------------------------------------------------------
1448 //--------------------------------------------------------------------------------------------------
1450 (
1451  le_audio_StreamRef_t streamRef,
1454 
1455  int fd
1458 );
1459 
1460 //--------------------------------------------------------------------------------------------------
1470 //--------------------------------------------------------------------------------------------------
1472 (
1473  le_audio_StreamRef_t streamRef
1476 );
1477 
1478 //--------------------------------------------------------------------------------------------------
1486 //--------------------------------------------------------------------------------------------------
1488 (
1489  le_audio_StreamRef_t streamRef
1492 );
1493 
1494 //--------------------------------------------------------------------------------------------------
1502 //--------------------------------------------------------------------------------------------------
1504 (
1505  le_audio_StreamRef_t streamRef
1508 );
1509 
1510 //--------------------------------------------------------------------------------------------------
1518 //--------------------------------------------------------------------------------------------------
1520 (
1521  le_audio_StreamRef_t streamRef
1524 );
1525 
1526 //--------------------------------------------------------------------------------------------------
1534 //--------------------------------------------------------------------------------------------------
1536 (
1537  le_audio_StreamRef_t streamRef,
1540 
1541  uint32_t nbChannel
1544 );
1545 
1546 //--------------------------------------------------------------------------------------------------
1554 //--------------------------------------------------------------------------------------------------
1556 (
1557  le_audio_StreamRef_t streamRef,
1560 
1561  uint32_t* nbChannelPtr
1564 );
1565 
1566 //--------------------------------------------------------------------------------------------------
1574 //--------------------------------------------------------------------------------------------------
1576 (
1577  le_audio_StreamRef_t streamRef,
1580 
1581  uint32_t rate
1584 );
1585 
1586 //--------------------------------------------------------------------------------------------------
1594 //--------------------------------------------------------------------------------------------------
1596 (
1597  le_audio_StreamRef_t streamRef,
1600 
1601  uint32_t* ratePtr
1604 );
1605 
1606 //--------------------------------------------------------------------------------------------------
1614 //--------------------------------------------------------------------------------------------------
1616 (
1617  le_audio_StreamRef_t streamRef,
1620 
1621  uint32_t samplingRes
1624 );
1625 
1626 //--------------------------------------------------------------------------------------------------
1634 //--------------------------------------------------------------------------------------------------
1636 (
1637  le_audio_StreamRef_t streamRef,
1640 
1641  uint32_t* samplingResPtr
1644 );
1645 
1646 //--------------------------------------------------------------------------------------------------
1659 //--------------------------------------------------------------------------------------------------
1661 (
1662  le_audio_StreamRef_t streamRef,
1665 
1666  const char* dtmf,
1669 
1670  uint32_t duration,
1673 
1674  uint32_t pause
1677 );
1678 
1679 //--------------------------------------------------------------------------------------------------
1692 //--------------------------------------------------------------------------------------------------
1694 (
1695  const char* dtmf,
1698 
1699  uint32_t duration,
1702 
1703  uint32_t pause
1706 );
1707 
1708 //--------------------------------------------------------------------------------------------------
1716 //--------------------------------------------------------------------------------------------------
1718 (
1719  le_audio_StreamRef_t streamRef,
1722 
1723  le_audio_Format_t format
1726 );
1727 
1728 //--------------------------------------------------------------------------------------------------
1736 //--------------------------------------------------------------------------------------------------
1738 (
1739  le_audio_StreamRef_t streamRef,
1742 
1743  le_audio_Format_t* formatPtr
1746 );
1747 
1748 //--------------------------------------------------------------------------------------------------
1756 //--------------------------------------------------------------------------------------------------
1758 (
1759  le_audio_StreamRef_t streamRef,
1762 
1763  le_audio_AmrMode_t mode
1766 );
1767 
1768 //--------------------------------------------------------------------------------------------------
1776 //--------------------------------------------------------------------------------------------------
1778 (
1779  le_audio_StreamRef_t streamRef,
1782 
1783  le_audio_AmrMode_t* modePtr
1786 );
1787 
1788 //--------------------------------------------------------------------------------------------------
1796 //--------------------------------------------------------------------------------------------------
1798 (
1799  le_audio_StreamRef_t streamRef,
1802 
1803  bool dtx
1806 );
1807 
1808 //--------------------------------------------------------------------------------------------------
1816 //--------------------------------------------------------------------------------------------------
1818 (
1819  le_audio_StreamRef_t streamRef,
1822 
1823  bool* dtxPtr
1826 );
1827 
1828 //--------------------------------------------------------------------------------------------------
1839 //--------------------------------------------------------------------------------------------------
1841 (
1842  const char* gainName,
1845 
1846  int32_t gain
1849 );
1850 
1851 //--------------------------------------------------------------------------------------------------
1861 //--------------------------------------------------------------------------------------------------
1863 (
1864  const char* gainName,
1867 
1868  int32_t* gainPtr
1871 );
1872 
1873 //--------------------------------------------------------------------------------------------------
1880 //--------------------------------------------------------------------------------------------------
1882 (
1883  void
1884 );
1885 
1886 //--------------------------------------------------------------------------------------------------
1893 //--------------------------------------------------------------------------------------------------
1895 (
1896  void
1897 );
1898 
1899 
1900 #endif // LE_AUDIO_INTERFACE_H_INCLUDE_GUARD
1901 
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)
Linear PCM.
Definition: le_audio_interface.h:421
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:418
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:366
le_result_t le_audio_GetSampleAmrDtx(le_audio_StreamRef_t streamRef, bool *dtxPtr)
AMR Wideband in 14.25kbps.
Definition: le_audio_interface.h:513
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:641
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:581
AMR Narrowband in 7.4kbps (default value)
Definition: le_audio_interface.h:492
Waveform audio file.
Definition: le_audio_interface.h:459
USB profile.
Definition: le_audio_interface.h:402
Handset profile.
Definition: le_audio_interface.h:393
le_audio_StreamRef_t le_audio_OpenUsbTx(void)
Reverse mode (left & right reversed).
Definition: le_audio_interface.h:446
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:507
le_audio_StreamRef_t le_audio_OpenSpeaker(void)
struct le_audio_Connector * le_audio_ConnectorRef_t
Definition: le_audio_interface.h:589
Not set.
Definition: le_audio_interface.h:477
le_result_t le_audio_GetPlatformSpecificGain(const char *gainName, int32_t *gainPtr)
le_audio_Format_t
Definition: le_audio_interface.h:457
AMR Narrowband in 6.7kbps.
Definition: le_audio_interface.h:489
Enumerate max value.
Definition: le_audio_interface.h:377
le_result_t le_audio_EnableFirFilter(le_audio_StreamRef_t streamRef)
AMR Narrowband in 4.75kbps.
Definition: le_audio_interface.h:480
void le_audio_RemoveDtmfDetectorHandler(le_audio_DtmfDetectorHandlerRef_t addHandlerRef)
uint32_t le_audio_GetPcmSamplingRate(void)
Adaptive Multi Rate.
Definition: le_audio_interface.h:462
le_result_t le_audio_MuteCallWaitingTone(void)
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:605
AMR Narrowband in 10.3kbps.
Definition: le_audio_interface.h:498
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:486
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:528
le_audio_AmrMode_t
Definition: le_audio_interface.h:475
AMR Wideband in 18.25kbps.
Definition: le_audio_interface.h:519
Headset profile.
Definition: le_audio_interface.h:396
void(* le_audio_MediaHandlerFunc_t)(le_audio_StreamRef_t streamRef, le_audio_MediaEvent_t event, void *contextPtr)
Definition: le_audio_interface.h:621
le_audio_StreamRef_t le_audio_OpenModemVoiceRx(void)
AMR Narrowband in 5.15kbps.
Definition: le_audio_interface.h:483
le_audio_Profile_t
Definition: le_audio_interface.h:388
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:504
AMR Narrowband in 12.2kbps.
Definition: le_audio_interface.h:501
A-law PCM (i.e. Europe and most of the rest of the world).
Definition: le_audio_interface.h:415
AMR Narrowband in 7.95kbps.
Definition: le_audio_interface.h:495
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_result_t le_audio_SetGain(le_audio_StreamRef_t streamRef, int32_t gain)
le_audio_StreamRef_t le_audio_OpenPcmRx(uint32_t timeslot)
le_audio_I2SChannel_t
Definition: le_audio_interface.h:432
AMR Wideband in 12.65kbps.
Definition: le_audio_interface.h:510
AMR Wideband in 23.05kbps.
Definition: le_audio_interface.h:525
Mono mode.
Definition: le_audio_interface.h:440
le_result_t le_audio_SetPcmSamplingResolution(uint32_t bitsPerSample)
Handsfree profile.
Definition: le_audio_interface.h:390
struct le_audio_MediaHandler * le_audio_MediaHandlerRef_t
Definition: le_audio_interface.h:597
AMR Wideband in 15.85kbps.
Definition: le_audio_interface.h:516
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:443
le_result_t le_audio_DisableFirFilter(le_audio_StreamRef_t streamRef)
Recording/playback has encountered an error.
Definition: le_audio_interface.h:374
le_result_t le_audio_PlaySignallingDtmf(const char *dtmf, uint32_t duration, uint32_t pause)
Right channel.
Definition: le_audio_interface.h:437
void le_audio_ConnectService(void)
le_audio_Companding_t
Definition: le_audio_interface.h:413
le_result_t le_audio_GetGain(le_audio_StreamRef_t streamRef, int32_t *gainPtr)
le_result_t le_audio_SetSampleAmrDtx(le_audio_StreamRef_t streamRef, bool dtx)
le_result_t le_audio_SetPlatformSpecificGain(const char *gainName, int32_t gain)
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:368
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:522
le_result_t le_audio_GetEncodingFormat(le_audio_StreamRef_t streamRef, le_audio_Format_t *formatPtr)
Left channel.
Definition: le_audio_interface.h:434
Teletypewriter profile (for hearing impaired use cases).
Definition: le_audio_interface.h:399
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)
No more audio samples to play.
Definition: le_audio_interface.h:371
le_result_t le_audio_EnableNoiseSuppressor(le_audio_StreamRef_t streamRef)
le_result_t le_audio_UnmuteCallWaitingTone(void)
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_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)