≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
app consumes memory then feezes
Posted by:
(you are not logged in)
Enter the missing letter in: "Internation?l"
(you are not logged in)
Text:
[quote][b]Rob[/b] wrote: I am having a problem with a .net desktop application using IrrKlang. The quick overview of the app is: user clicks a button, then app plays wavfile once. The problem I am seeing is after a week or so running fine the app starts consuming memory until it keeps looping in the while loop below. I am certain that the freeze occurs in the while loop, I added logging and the results showed the application stayed in the while loop. I have checked the wavfile and it is valid and plays correctly outside the app. Do I need to irrKlangEngine.Dispose(); after exiting the while loop? Shouldn't this already be taken care of? Any thoughts or suggestions would be appreciated. [code] if (comboBox1.SelectedIndex > -1) { IrrKlang.ISoundEngine irrKlangEngine = new IrrKlang.ISoundEngine(IrrKlang.SoundOutputDriver.AutoDetect, IrrKlang.SoundEngineOptionFlag.DefaultOptions, sdl.getDeviceID(comboBox1.SelectedIndex)); irrKlangEngine.Play2D(WavFile, false); while (irrKlangEngine.IsCurrentlyPlaying(WavFile)) { } } [/code][/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact