22 ms is good latency for shared mode
There are good reasons to NOT reduce it further, especially that YouTube playback does not need such mode of operation. Low latency is the domain of pro audio applications and this is covered by exclusive mode, assuming you could put some additional effort from your end either via development or by putting another audio output device if you need shared and exclusive side by side.