you're on the right lines, but your WaveOut object is in danger of getting garbage collected before playback has finished. wo.Play just starts playback, so you are closing your input stream before it has finished playing it.
↧
you're on the right lines, but your WaveOut object is in danger of getting garbage collected before playback has finished. wo.Play just starts playback, so you are closing your input stream before it has finished playing it.