Update March 10 = User solved issues by disconnecting everything and reconnecting all back to the dock.
I have a Dell XPS 9510 (3050Ti) connected to a Dell WD19TB dock and a Dell S2721QS monitor connected through the HDMI port on the dock. I have my audio/speakers to default to the monitor's speakers. Whenever I am playing audio/video there's always a few seconds where there is no audio from the monitor. It's as if the audio/speaker on the monitor goes to sleep and takes a while to wake up whenever an audio is playing. Problem exists even when connecting through DisplayPort. Have a fresh installation of Windows 11 pro with all drivers up to date. If I set the output to the laptop's speakers, there is no problem, the audio plays instantly. Is it a problem with the monitor? driver? Windows? Those three are all Dell products, thought everything would play nicely, but it's been frustrating.
XPS 9510, WD19TB, S2721QS, HDMI/DP no audio for first few seconds