This project has moved. For the latest updates, please go here.

Audio playback jumps

Sep 13, 2011 at 10:58 AM


I have a big problem, when I'm listing music played by your Mp3StreamingDemo, everything is OK, but when I'm playing the same music from my application - using code from Mp3StreamingDemo, and minimize my application, in this special moment (about 1s) everything stops (music does not play anymore) till application will finish minimize process. The same thing is happening when I click on my taskbar to show application playing music.

What I'm doing wrong ?

PS sorry for my bad English

Sep 15, 2011 at 12:44 PM

It may be the garbage collector kicking in which can interrupt audio playback. If you restore and minimise again does it do it again?

Sep 16, 2011 at 1:24 PM
Edited Sep 16, 2011 at 1:53 PM

Yes, but the problem is only in my application, in yours Mp3StreamingDemo everything is ok, even when I start new project and use yours panel (from Mp3StreamingDemo) its the same issue, any idea what I'm doing wrong ?


Edit: Today I even changed timer1 which is responsible for playing from buffer to DispacherTimer (wpf) where I can set priority, and nothing changed, still when I minimize application (not only project, any window) I hear nothing, when minimizing is done, music starts playing...