Playing part of a sound (WMA) file in C#
问题 I have a single WMA file which contains lots of different pieces of audio. Is there any way I can play part of a sound stream? Something like: public static void Play(Stream soundStream, long start, long end); 回答1: You may be able to do this using NAudio, it is a audio library for .Net. Using the example here I was able to throw a quick test application up to try it. Using the WaveSteam.Skip(int seconds) method you are able to start at a specific position in the file. I have not been able to