is there a clean way to play an mp3 sound in the compact framework 3.5
问题 I use the p/invoke method to play wav sounds. There are ways of calling windows media player to play an mp3 sound, but its slow & cumbersome. Is there an easy way to play a short mp3 file? This is primarily for application prompting and audible cues when you are not looking at the screen and not music. Thanks! 回答1: CF Framework 3.5 now includes support for playing .WAV files: Namespace System.Media.SoundPlayer Short WAV files for cues and sound-effects might even play faster than MP3s since