Using the following routine to play embedded wav files:
Private Sub PlaySound(ByVal Sound As Int32)
Select Case Sound
Case 1 : My.Computer.Audio.Play(My.Resources.Sounds.GoOnlin e,
AudioPlayMode.Background)
Case 2 : My.Computer.Audio.Play(My.Resources.Sounds.DoorOpe n,
AudioPlayMode.Background)
Case 3 : My.Computer.Audio.Play(My.Resources.Sounds.DoorSla m,
AudioPlayMode.Background)
Case 4 : My.Computer.Audio.Play(My.Resources.Sounds.Private Msg,
AudioPlayMode.Background)
End Select
End Sub
Occasionally, instead of hearing the sound, i just hear white noise. This
doesn't happen if I play the sounds from files. Is there a better way to
play sound resources to eliminate the white noise anamoly?