You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/device/audio_4_channel_mic/src/tusb_config.h
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -126,12 +126,12 @@ extern "C" {
126
126
#defineCFG_TUD_AUDIO_ENABLE_TYPE_I_ENCODING 1
127
127
#defineCFG_TUD_AUDIO_FUNC_1_CHANNEL_PER_FIFO_TX 2 // One I2S stream contains two channels, each stream is saved within one support FIFO - this value is currently fixed, the driver does not support a changing value
#defineCFG_TUD_AUDIO_FUNC_1_TX_SUPP_SW_FIFO_SZ4 * (CFG_TUD_AUDIO_EP_SZ_IN / CFG_TUD_AUDIO_FUNC_1_N_TX_SUPP_SW_FIFO) // Minimum 4*EP size is needed for flow control
129
+
#defineCFG_TUD_AUDIO_FUNC_1_TX_SUPP_SW_FIFO_SZ(TUD_OPT_HIGH_SPEED ? 32 : 4) * (CFG_TUD_AUDIO_EP_SZ_IN / CFG_TUD_AUDIO_FUNC_1_N_TX_SUPP_SW_FIFO) // Example write FIFO every 1ms, so it should be 8 times larger for HS device
#defineCFG_TUD_AUDIO_FUNC_1_EP_IN_SW_BUF_SZ4 * CFG_TUD_AUDIO_EP_SZ_IN // Minimum 4*EP size is needed for flow control
134
+
#defineCFG_TUD_AUDIO_FUNC_1_EP_IN_SW_BUF_SZ(TUD_OPT_HIGH_SPEED ? 32 : 4) * CFG_TUD_AUDIO_EP_SZ_IN // Example write FIFO every 1ms, so it should be 8 times larger for HS device
0 commit comments