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: I have try: mp3_1.close mp3_1.dispose But the memory used increases each time use new Mp3FileReader. It seem that the dispose function not releases all file stream. Cam you tell me the proper method? Regards Alex

Viewing all articles
Browse latest Browse all 738

Trending Articles



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