Ue rework keep sync in frame
make explicit return of the clock drift to shift the corresponding number of samples
remove corresponding global variables
make explicit return of the clock drift to shift the corresponding number of samples
remove corresponding global variables