enable UserBufferManagement for uac1

This commit is contained in:
Steven Dan
2026-04-16 21:26:12 +08:00
parent 1df6f4c2ed
commit ee4268c37f

View File

@@ -157,9 +157,6 @@ void UserBufferManagement(unsigned sampsFromUsbToAudio[], unsigned sampsFromAudi
{
uint32_t is_3d;
unsigned is_monitor;
#if UAC1_MODE
return;
#endif
#if USE_EX3D == 1
#if defined(SPATIAL_DRAMA) || defined(SPATIAL_GAME) || defined(SPATIAL_MOVIE) || defined(SPATIAL_MUSIC)
@@ -938,7 +935,7 @@ void hid_button_task(chanend_t cc_mic_level, chanend_t c_hidRcvData, chanend_t c
unsigned mon_sw = chan_in_word(cc_mic_level);
SET_SHARED_GLOBAL(g_monitor_switch_t1, mon_sw);
debug_printf("Monitor sync: sw=%d\n", mon_sw);
}
}
}
continue;