Quantcast
Channel: naudio Work Item Rss Feed
Viewing all articles
Browse latest Browse all 738

Commented Issue: Buffer not dispose [16391]

$
0
0
I'm Trying NAudio in my project.
It seem that in Mp3FileReader buffer dispose function not work.
I use this scenario:
mp3_1 = New Mp3FileReader("FileAudio.MP3")
DSO1.Init(mp3_1)
DSO1.Play()
Then stop and dispose WaweOut and restart a new file with same routine.
After any stop and play, memory is loss.

Is this routine correct?

Rehards
Alex
Comments: then you have disposed it. memory usage does not go down in .net when you dispose something. that only happens when the garbage collector runs.

Viewing all articles
Browse latest Browse all 738

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>