user interface - Using GUI causes "Sleep?" making Audio stutter/stop -


okay, title says.

for example, use naudio playback record (loopback if want).

and if click on gui (the top part, can move window). cause "sleep", , when happens current activity (audio playback) stops. , continues afterwards.

but want remove that, don´t know other application has it, it´s how programming.

please keep simple, extremely new c#.

i guessing on bakckgroundworker or something, couldn´t work.

so hopping more concrete answer.

this me not understanding using main thread in window form cause on gui run on it.

meaning, if move gui, movement priority on rest of code, else paused if run on thread.

perhaps differ object object, in scenario case, moved separate thread , it´s solved.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -