ScreenCapture icon indicating copy to clipboard operation
ScreenCapture copied to clipboard

How to recode audio and print audio device name?

Open jinfeihan57 opened this issue 1 year ago • 2 comments

I want to recode audio. but default code can not do it. I patch this code then I can recode audio. and I print vistamixers info. image I don't why I can't print [i.name]. [i.CanPlay] and [i.CanCapture] seems to be opposite. I need to choose a recording device, how should I do it.

if I print [i.name] image

jinfeihan57 avatar Nov 14 '23 11:11 jinfeihan57

try i.name.c_str()

for my project i just used

std::wstring myString = vistamixers[i].name.c_str(); and can receieve the device name

Boomslangnz avatar Nov 17 '23 00:11 Boomslangnz

try i.name.c_str()

for my project i just used

std::wstring myString = vistamixers[i].name.c_str(); and can receieve the device name

not working for me.

jinfeihan57 avatar Nov 20 '23 02:11 jinfeihan57