summaryrefslogtreecommitdiff
path: root/examples/device/uac2_headset/src/main.c
AgeCommit message (Collapse)Author
2024-04-26Fix typo.HiFiPhile
2024-04-22fix print lu format warnings with clanghathach
2024-04-09Reduce uac2_headset max sample rate for better compatibility.HiFiPhile
2024-04-01UAC2: add interrupt volume control to uac2_headset example.HiFiPhile
2023-08-09Merge pull request #2202 from Rocky04/patch-4Ha Thach
Invoke unmounted state on configuration reset
2023-08-07Update examplesRocky04
2023-08-04Merge branch 'master' into enhance-bsphathach
2023-08-03rename hw/bsp/board.h to board_api.hhathach
2023-07-31enable USBMC for uno r4, add board_init_after_tusb() APIhathach
add BOARD_UPPERCASE for board detection
2023-03-17Merge branch 'master' into portabilityhathach
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2023-01-13examples/uac2: Fix mute and volume array lengthsMalik Enes Safak
2022-09-13Remove unreachable codeBen Avison
IAR generates warning Pe111 'statement is unreachable'. In a couple of cases, replace return statements with TU_ATTR_FALLTHROUGH; because some compilers apparently can't figure out that the return statements are unreachable but do whinge about an imagined fall-through without them!
2022-06-27fix all device examples warningshathach
2022-06-06more example updatehathach
2022-05-28Fix printf long int compiler errorLeon Loeser
2021-10-17more with -Wcast-qualhathach
2021-07-08add settings for Renesas RX familykkitayam
2021-07-04Move audio_control_request_t to audio.hMasterPhi
2021-07-04Prevent overflow noiseMasterPhi
2021-07-04Clear FIFO only if enabled...MasterPhi
Add buffer align
2021-07-04Add 24bit loopback in example.MasterPhi
2021-07-04Fix typoMasterPhi
2021-07-04Fix audiod_get_AS_interface_index in audio class.MasterPhi
Enhance uac2_headset example with multiple sample rates. Add macro to calculate EP size.
2021-05-26fix uac2_headset examplenoodlefighter
tud_audio_rx_done_cb() is departed, replace with tud_audio_rx_done_pre_read_cb()
2021-05-20fix uac2_headset example: type of bRequest should be uint8_t, not enumeratenoodlefighter
2021-04-03Fix old defines in uac2_headsetReinhard Panhuber
2021-03-13move AUDIO_SAMPLE_RATE to example main.chathach
2020-10-16audio: Add headset exampleJerzy Kasenberg
This example code creates USB Audio 2.0 headset device. Device has two audio interfaces first stereo speaker with 48kHz stereo stream. Second interface for microphone with 48kHz mono stream. This example can be used to start working on audio device. It can be also used to verify ISO endpoints for boards. Speaker adaptive clock (bound to SOF). Microphone for now has asynchronous clock. Volume and mute control while present are not used for data stream modification.