I have written a program which requires a "C-MEDIA WAVE DEVICE" sound card to enable it to transfer audio from a hard disk to a radio transmitter. However, when the transmitter is not being used I require to hear the audio in the computer headphones. To avoid plugging and unplugging cords I installed another sound card, a "REALTEK AC97 AUDIO" which works well just by altering which card is the default.
I now wish to switch the cards automatically by placing code in my program so that when starting the program, it changes the default sound card to the C-Media one and reverts back to the Realtek 97 when I close the program down.
Is there anyone who has done this or something similar who can help. I have searched the forums intensely without success. I am using PBWin 9.
I now wish to switch the cards automatically by placing code in my program so that when starting the program, it changes the default sound card to the C-Media one and reverts back to the Realtek 97 when I close the program down.
Is there anyone who has done this or something similar who can help. I have searched the forums intensely without success. I am using PBWin 9.
Comment