Commit Graph

13 Commits

Author SHA1 Message Date
hathach
a5f516893b more with -Wcast-qual 2021-10-17 16:36:53 +07:00
kkitayam
2e0d7e87d0 add settings for Renesas RX family 2021-07-08 21:57:28 +09:00
MasterPhi
1c8b685457 Move audio_control_request_t to audio.h 2021-07-04 15:46:12 +02:00
MasterPhi
8a42cb3661 Prevent overflow noise 2021-07-04 15:46:12 +02:00
MasterPhi
5f67e5c1e9 Clear FIFO only if enabled...
Add buffer align
2021-07-04 15:46:11 +02:00
MasterPhi
5b7795be4b Add 24bit loopback in example. 2021-07-04 15:46:11 +02:00
MasterPhi
325742acb4 Fix typo 2021-07-04 15:46:11 +02:00
MasterPhi
6e9da70c18 Fix audiod_get_AS_interface_index in audio class.
Enhance uac2_headset example with multiple sample rates.
Add macro to calculate EP size.
2021-07-04 15:46:10 +02:00
noodlefighter
aca2320075 fix uac2_headset example
tud_audio_rx_done_cb() is departed, replace with
tud_audio_rx_done_pre_read_cb()
2021-05-26 11:45:45 +08:00
noodlefighter
0b1257266b fix uac2_headset example: type of bRequest should be uint8_t, not enumerate 2021-05-20 17:45:15 +08:00
Reinhard Panhuber
c57369ee83 Fix old defines in uac2_headset 2021-04-03 16:22:35 +02:00
hathach
db6242f076 move AUDIO_SAMPLE_RATE to example main.c 2021-03-13 00:23:13 +07:00
Jerzy Kasenberg
a5581b10df audio: Add headset example
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.
2020-10-16 08:52:26 +02:00