rdp / virtual-audio-capture-grabber-device

free audio capture device to capture all the "wave out sound" that is playing on your speakers (i.e. record what you hear) for Windows Vista+. Releases downloadable in this package:
https://github.com/rdp/screen-capture-recorder-to-video-windows-free
Other
578 stars 181 forks source link

if no audio devices causes a segfault #8

Closed rdp closed 6 years ago

rdp commented 10 years ago

which is never good... :P

nhjm449 commented 7 years ago

Yep, I see a segfault after "IMMDeviceEnumerator::GetDefaultAudioEndpoint failed: hr = 0x80070490" (ERROR_NOT_FOUND).

It's possible that pMMDevice is undefined when pMMDevice->Activate() is called:

https://github.com/rdp/virtual-audio-capture-grabber-device/blob/8b3a686480f4088bbc74d7bd090db215565d4253/source_code/acam/loopback-capture.cpp#L67

(Using Screen Capture Recorder v0.12.8)

rdp commented 6 years ago

hopefully fixed in 54aa9ee thank you for the report.