I have had the same problem since I purchased my surface pro 4 back in November 2017.
Microsoft said they would replace the device for me with a refurbed one.
(In the meantime I have a case open with the retailer I purchased from as they should have replaced for me with a brand new device!)
I had no luck in finding the problem for the sound so was about to go forward with the replacement when I came across this on the internet...
The audio
pops when switching from a “rest” state in Windows 10 Fall Creators Update. Many people have reported that the audio stays uninterrupted with songs, games. You could try the workaround to get rid of that.
* Press Win + R from your keyboard, type regedit
and click OK button to open Registry Editor.
* Navigate to the location below:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{4d36e96c-e325-11ce-bfc1-08002be10318}\0007\PowerSettings
* Highlight the PowerSettings
folder, and go to its right side pane.
* There are 3 registry keys, including ConservationIdletime, IdlePowerState and PerformanceIdleTime. They are used to configure the related sound in different sleep state.
The ConservationIdletime is used to be played only when your laptop is running low on battery, so you can ignore it.
The hexadecimal values of IdlePowerState key is on the default 03 00 00 00. If you change it to zero, the system will overwrite it and reset to the default value. The 0 value is not an accepted value for the sound card.
The PerformanceIdleTime
key is used for desktop PCs and laptops under charge, and it has 5 seconds inactivity timer. I notice that you need to make change with it. Double click on the
PerformanceIdleTime
key, change its value data to
ff ff ff ff, and click OK
button to save that,
* Finally make a rebooting with your tablet or computer to apply all changes. Now the sound popping has been fixed. Everything works properly on Windows 10 1709 version.
I have carried these instructions out and will keep you posted on how it goes!