AudioFileReader is just a container class that uses Mp3FileReader, WaveFileReader etc. based on the filename,
[if filename.endswith(".mp3")] and so on....
So, actually it doesn´t seem to support streams and you have 2 possibilities to choose:
1) Copy the AudioFileReader.cs class from NAudio source and adjust it for stream support
2) Assign readers yourself, as I have done e.g. here: Url
I´d recommend using option 1, as it is an easier approach for beginners. You also have to look up if your used readers can handle streams, e.g. Mp3FileReader can read from a stream.
[if filename.endswith(".mp3")] and so on....
So, actually it doesn´t seem to support streams and you have 2 possibilities to choose:
1) Copy the AudioFileReader.cs class from NAudio source and adjust it for stream support
2) Assign readers yourself, as I have done e.g. here: Url
I´d recommend using option 1, as it is an easier approach for beginners. You also have to look up if your used readers can handle streams, e.g. Mp3FileReader can read from a stream.