Commit Graph

6 Commits

Author SHA1 Message Date
MasterPhi 5b7795be4b Add 24bit loopback in example. 2021-07-04 15:46:11 +02:00
MasterPhi a1639b0279 Refactor descriptor, add alt settings support. 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
Reinhard Panhuber fa0d71f2cf Try to resolve include hassle in uac2_headset 2021-04-15 17:04:25 +02: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