14 Replies
Maybe there is a way to play without a new thread?
I know NAudio has an asynchronous API
Also, why are you creating a
StreamReader
just to get the base stream that you passed to it?
You can just use the return value of GetManifestResourceStream
directly
StreamReader
is meant for textUnknown UserOP•3y ago
Message Not Public
Sign In & Join Server To View
Why don't you want a new package?
That is a very common thing to do
Unknown UserOP•3y ago
Message Not Public
Sign In & Join Server To View
Well it's def. not complicated
Just read their documentation
Or StackOverflow posts
Unknown UserOP•3y ago
Message Not Public
Sign In & Join Server To View
Is it slow?
Unknown UserOP•3y ago
Message Not Public
Sign In & Join Server To View
Well it opens a stream that should give you bytes gradually
I don't think that'd be slow
Unknown UserOP•3y ago
Message Not Public
Sign In & Join Server To View
mp3 is lossy compressed, wav isn't.
So choosing between them depends on your requirements
NAudio supports both
Most people can't hear the difference anyway between a high quality MP3 and WAV
Unknown UserOP•3y ago
Message Not Public
Sign In & Join Server To View
✅ This post has been marked as answered!