Hello,
Is it possible to record separate voice-files for the voices of caller and callee in Tapi (with C/C++) ?
If it is possible, could you please guide on the code to implement this.
I could not find any option for recording only the caller or callee voice in the relevant recording functions as below
(document: CUCM_TAPI_Dev_Guide.pdf):-
(1) The waveInOpen function opens the given waveform-audio input device for recording.
MMRESULT waveInOpen( LPHWAVEIN phwi, UINT uDeviceID, LPWAVEFORMATEX pwfx, DWORD dwCallback, DWORD wCallbackInstance, DWORD fdwOpen );
(2) The waveInPrepareHeader function prepares a buffer for waveform-audio input.
MMRESULT waveInPrepareHeader( HWAVEIN hwi, LPWAVEHDR pwh, UINT );
(3) The waveInAddBuffer function sends an input buffer to the given waveform-audio input device.
When the buffer is filled, the application receives notification.
MMRESULT waveInAddBuffer( HWAVEIN hwi, LPWAVEHDR pwh, UINT cbwh );
(4) The waveInStart function starts input on the given waveform-audio input device.
MMRESULT waveInStart( HWAVEIN hwi );
Thanks a lot..
Regards,
Anurag