CodePlexProject Hosting for Open Source Software
Does naudio have any plans to support playing AAC (.m4a) files? Right now when you try to load one into AudioFileReader
fileWaveStream = new AudioFileReader(@"c:\music\test.m4a");
The issue is with CreateReaderStream(string fileName) in audioFileReader it doesn't look for anything other than ".wav",".mp3", and ".aiff". I'm I just stupid and missing something and should be using another FileReader?
You will be able to play AAC in NAudio 1.7 using the MediaFoundationReader so long as you are using Windows 7 and above. You can try this out by building the latest code or getting a prerelease from NuGet if you are interested.
Mark
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.