07-20-2019 03:06 PM
How do I control the line in-to-out loopback on a PC soundcard/Windows mixer? Is there a .dll I can control with a library function?
Thanks
Solved! Go to Solution.
07-22-2019 03:21 AM
You probably need to use DirectSound, if it's possible. I'd look for a .net wrapper first if I had to use DirectSound.
07-22-2019 01:42 PM
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kHFKSA2&l=en-US
Does this answer your question?
07-22-2019 05:06 PM
Hey thanks. I didn't know which dll it was. Still a bit of work to do researching the function etc. What's the point of the for loops in your vi?
07-22-2019 10:06 PM
Please mark the actual message that gave you the solution, not your "thank you" message.
07-23-2019 03:02 AM
@grubworm wrote:
Hey thanks. I didn't know which dll it was.
As far as I can tell. that example will only change the volume. It will not give you a loopback.
@grubworm wrote:
What's the point of the for loops in your vi?
100X to get from x to 0, or from x to 100. As far as I can tell, you're basically pressing the volume button 100 times.
You can always acquire the sound from an input, and play it back to an output. In a while loop, that will give you a loopback, but there will be a latency. Using DirectSound the latency will be smaller, if it is in fact capable of doing it (I don't know).
07-23-2019 09:16 AM
Thanks. Yea I recreated it and got it to do mute or volume up. I started reading some of the microsoft api docs but the info i'm looking for is buried deep. It's a start, so...