MacBook pro M1 screen often flashes for half a second when playing

This situation is good and bad, whether it is online playback or direct connection to the hard disk.