add time count
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user