LoopbackCapture icon indicating copy to clipboard operation
LoopbackCapture copied to clipboard

Error: The thread terminated early - something bad happened

Open ThreeDeeJay opened this issue 3 years ago • 0 comments

Hi, big fan of the tool, but I keep running into errors like this when running from the command line (otherwise it just closes):

IAudioCaptureClient::GetBuffer set flags to 0x00000003 on pass 1 after 0 frames
Error: The thread terminated early - something bad happened
Error: Thread HRESULT is 0x8000ffff

I'm still not sure what causes it, but my suspicions (although not consistent/confirmed) based on my observations are:

  • Start new app playback after the tool starts recording
  • Having multiple apps outputting audio (even if they're muted)
  • The audio stream stops while the tool is recording
  • There is no active audio stream when the tool starts recording
  • Sound card driver service (like Creative's) conflicting (restarting audio service tends to fix it)

Otherwise, if it works, I still get which I just ignore but I'm not sure if it's a sign of another issue:

Probably spurious glitch reported on first packet

Let me know if you need me to provide any more details.

ThreeDeeJay avatar Nov 19 '22 23:11 ThreeDeeJay