summaryrefslogtreecommitdiff
path: root/examples/device/uac2_headset/src/usb_descriptors.c
AgeCommit message (Collapse)Author
2021-04-03Fix wrong pointer type in audio_device.cReinhard Panhuber
2021-04-03Fix potential bug in support FIFO sizesReinhard Panhuber
2021-04-03Fix error in #defines in uac2_headsetReinhard Panhuber
2021-04-03Generalize audio driver for 3 audio functions plus a lot more.Reinhard Panhuber
- Audio format and parameters are parsed from descriptors thus user no longer needs to give them explicitely - Tested for 4 channel software type I PCM encoding with 16 bit with 1 channel per FIFO and 2 channels per FIFO (this is I2S specific)
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.