add time count

This commit is contained in:
Steven Dan
2026-01-19 22:33:37 +08:00
parent f6f11fbad8
commit b6349594f2

View File

@@ -141,14 +141,17 @@ void UserBufferManagement(unsigned sampsFromUsbToAudio[], unsigned sampsFromAudi
uint32_t is_3d;
uint32_t is_dnr;
uint32_t is_mute;
unsigned tmp[8]={0,0,0,0,0,0,0,0}, downmix[8]={0,0,0,0,0,0,0,0};
#if UAC1_MODE
unsigned time_total_count = 4800000;
#else
unsigned time_total_count = 2400000;
#endif
unsigned tmp[8]={0,0,0,0,0,0,0,0}, downmix[8]={0,0,0,0,0,0,0,0};
static unsigned count = 0;
if (count < 4800000) {
if (count < time_total_count) {
count++;
return;
}
#endif
GET_SHARED_GLOBAL(is_3d, g_3d_on_off_t1);
GET_SHARED_GLOBAL(is_dnr, g_dnr_on_off_t1);
GET_SHARED_GLOBAL(is_mute, g_mute_on_off_t1);