If anyone using the same laptop and you got this error (same time period as me: 06/26/2022-ish), Please update your laptop. It should fix it.
There is absolutely no sound in my Inspiron 5510. I hear no sound from internal speakers. I updated the whole computer whenever windows asked me to do so. I am on Windows 10.   The great part is when I am following the dell article it says to click "Test" button in speaker properties and I must hear some sound,  my computer throws "Error: can't play test tone".
No sound