PDA

View Full Version : Record uplink/downlink speech streams? (WaveIn, TAPI, RIL?)


serbenet
15-02-2005, 06:05 PM
Hi,
I'm trying to record both uplink and downlink speech streams of my XDA II during a phone call.
I tried many different things but couldn't get working any of them:
- I first tried the waveIn/waveOut API and thought, in the first place, that I was able to record the incoming and outgoing audio streams, mixed together. But I quickly realise that what I was recording was only the sound from the mike, and that the speech of the downlink speech was going from the speaker through the air to the mike. So I was recording my own voice (from the mike) and the voice of the other part (from the mike too as the sound was going from the speaker to the mike).
- Then I had a look to the TAPI API. I was able to answer calls but it was impossible for me to access to any of the audio streams. I think it's a limitation of the device, and that the TAPI API hasn't been fully implemented on the XDA2. But I can't be sure of that.
- Now I'm trying to use RIL, which seems to be a layer below the other APIs. I believe it might be possible to access to the audio streams, but I have no idea how.
- I also think that the audio data of both streams must be stored in the memory, somewhere in the device. But where?

Any ideas or suggestions on this? Do you think I should keep investigating RIL?

Thanks a lot
Ben