The sample illustates how to achieve bidirectional asynchronous audio. Implicit feedback is the only way to achieve asynchronous USB headset on devices that have only one isochronous IN and one isochronous OUT endpoint. The sample implements stereo playback and mono recording. While it would be possible to have stereo recording, the commonly available headsets are mono only. The number of channels can differ between audio sink and source because the only requirement is that the two run on same clock. Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
13 lines
289 B
Plaintext
13 lines
289 B
Plaintext
CONFIG_I2S=y
|
|
|
|
#USB related configs
|
|
CONFIG_USB_DEVICE_STACK_NEXT=y
|
|
CONFIG_USBD_AUDIO2_CLASS=y
|
|
CONFIG_SAMPLE_USBD_PID=0x000F
|
|
CONFIG_SAMPLE_USBD_PRODUCT="UAC2 implicit feedback sample"
|
|
|
|
#LOG subsystem related configs
|
|
CONFIG_LOG=y
|
|
CONFIG_USBD_LOG_LEVEL_WRN=y
|
|
CONFIG_UDC_DRIVER_LOG_LEVEL_WRN=y
|