Click to See Complete Forum and Search --> : waveInOpen question.....


Steve123
July 21st, 2003, 07:10 PM
I have a program that accepts a phone call, and now i am trying to gain access to the raw(16 bit samples at 8000 Hz) data of that phone call. I get the device id of the call by calling lineGetID(...), and then i try to open a wave line to the call by calling waveInOpen(.....), passing in the device id from above. but this returns an error every time(error is "Device already in use").

Does anyone know what i am doing wrong? Should i use the device for the call like i am in waveInOpen(..)?

thanks,
Steve

ps: i posted the same question on the vc++ board, so sorry for the cross post, but no one seem to know how to fix it over there. If you need more information, just ask and i will post answer.