08-10-2016 08:21 PM
Hi all,
Just coded what I thought was a simple intercom system with a press-to-talk button.
Press-to-talk = Headset Microphone to Laptop Speakers.
Passive = Laptop Microphone to Headset Speakers.
In running the program I get the subject title error which I do not understand.
Would somebody be able to provide assistance or enlightenment on this matter.
Thanks
08-10-2016 08:49 PM
Thought I'd add a basic explanation to the code since I didn't realise it's so hard to see. Basically configure four sound devices outside the while loop (Headset speaker and microphone, laptop speaker and microphone). Then basically use 'stop' for one combination to stop sound playing in one direction and have start and write for the other combination to relay sound in that direction. The inverse occurs when the button is pressed. Thanks again
08-11-2016 01:50 AM
In my experience, there's usually an external cause for that error (I've had it two times under two different circumstances).
It's probably one of the following:
1. Glitchy hardware
2. Bug in the drivers for hardware
3. Bug in Windows
I'd try the following:
1. Update drivers for your sound card
2. Update drivers for your motherboard chipset
3. Try it on a different PC