mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
Fix uac2_headset example
This commit is contained in:
parent
4af5189492
commit
6f2f5320f2
@ -31,6 +31,8 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "usb_descriptors.h"
|
||||||
|
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
// COMMON CONFIGURATION
|
// COMMON CONFIGURATION
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
@ -94,6 +96,8 @@ extern "C" {
|
|||||||
#define CFG_TUD_AUDIO_IN_PATH (CFG_TUD_AUDIO)
|
#define CFG_TUD_AUDIO_IN_PATH (CFG_TUD_AUDIO)
|
||||||
#define CFG_TUD_AUDIO_OUT_PATH (CFG_TUD_AUDIO)
|
#define CFG_TUD_AUDIO_OUT_PATH (CFG_TUD_AUDIO)
|
||||||
|
|
||||||
|
#define CFG_TUD_AUDIO_FUNC_1_DESC_LEN TUD_AUDIO_HEADSET_STEREO_DESC_LEN
|
||||||
|
|
||||||
// Audio format type I specifications
|
// Audio format type I specifications
|
||||||
#define CFG_TUD_AUDIO_FUNC_1_N_CHANNELS_TX 1
|
#define CFG_TUD_AUDIO_FUNC_1_N_CHANNELS_TX 1
|
||||||
#define CFG_TUD_AUDIO_FUNC_1_N_BYTES_PER_SAMPLE_TX 2
|
#define CFG_TUD_AUDIO_FUNC_1_N_BYTES_PER_SAMPLE_TX 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user