With Windows IOT before and after playing a sound file on the Raspberry (both 2 and 3) a loud click can be heard thru the speakers; is there a way to make it so no click is heard?
Here is the code I am using ...
Dim file As StorageFile = Await StorageFile.GetFileFromApplicationUriAsync(New Uri("ms-appx:///Assets/tunein.wav"))
Dim player As MediaPlayer = BackgroundMediaPlayer.Current
player.AutoPlay = False
player.SetFileSource(file)
player.Volume = 0.2
player.Play()
I've tried turning the audio level to zero before and after the file is played; but even when the audio level is set to zero the loud click is heard.
Also, this post from 2013 says its a problem with the firmware and an upgrade would fix it (but the problem is on a PI 3 as well) so I'm not sure if its wise to apply that firmware upgrade; it also recommends some linux fixes which don't apply in the Windows IOT world.