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
Post a Comment