[Q] Need help figuring out voice call - Android

For educational purposes I'm trying to understand how audio is routed from/to the radio during a voice call. By running strace on my N1 I was able to see this:
- Audio is played back to the AudioFlinger (i see write() to /dev/msm_pcm_out)
- Recording is not done using msm_pcm_in - maybe DMA directly to the modem?
- Most of the work is done in the propriety libhtc_ril.so
Couldn't find anywhere in the source code where an AudioTrack is created for the voice call.
If anyone could shed some light on this I'd be grateful.
Thanks.

Related

[Hacker needed !! ] Eten Skype fix speaker file

Hi: This flie is from Eten x500.
After install the .cab file, go to setting>sound , and then there is third tab available. check the box to enable the sound redirect to earphone.
However, this does not work with the HTC phones.
Can anyone hack this file to make it work on HTC??
Thanks
I'm also looking for program with same functionality (changing front/back speaker sound routing), I know it's not simple task and I even wrote pm to Superdave about it because he wrote sound routing dll for widcomm drivers and probably knows most about sound routing in hermes. Unfortunatelly I didn't get any answer, probably he don't have time to make such feature.
Can anyone hack these files?
Did anyone ever get anywhere with this? I Would love to have Skype on the earphone.
I read somewhere here that this was not possible. The front ear speaker is hardware didicated to the cellular service (or something like that). If it where possible or someone had done it I'm sure it would be a sticky.
I'd just be happy if I could get Skype to work on with my bluetooth.
Maybe some guy can have a look at the SkypeSettings.exe and SkypeSettings.dll files from Eten.
From what I saw, it only deals with the WAV1: device. No more devices are listed. Probably it captures the audio from it and than sends it to front speaker.
It does not run on my PDA. The settings tab also appears grayed out, so the app know it is not an Eten.
Unfortunately I could not debug the file on my device, given that IDA does not work on WM6, but probably both files have a check for Eten device, and if it is of a different brand the apps terminate.
Dumb question, but when you use the sip client on a Hermes, what speaker does the call come out of?
RojasTKD said:
I read somewhere here that this was not possible. The front ear speaker is hardware didicated to the cellular service (or something like that). If it where possible or someone had done it I'm sure it would be a sticky.
I'd just be happy if I could get Skype to work on with my bluetooth.
Click to expand...
Click to collapse
I have found out that the there is a program that routes the Skype audio output to bluetooth: "BT Audio" has been working for me for the past couple of years now since I had the Hermes. Also has worked with the last couple of BT's that I have used and its free. In my Settings>Remove Programs it shows up as: "TP.com BT Audio" I hope this helps.
And yeah it would be great to have Skype transmit via earphone...
Laterz

“Fake” a bluetooth call with RFCOMM

Hey Guys, I also posted this question on Stackoverflow.
okay, here's my problem: I am developing an app that reads out SMS while driving and therefore connects to to a bluetooth speaker (mono) using startSCO. However, there are some devices (especially car entertainment systems that lack A2DP functionality) that only react on calls.
So my idea would be to initiate a "fake" call (read: send the String with Caller ID etc to the device so it rings) and - if the user "picks up" the call - then send the normal output with the VoiceCall Stream.
As Android supports RFCOMM, this should be possible I guess. However, I can't find any information about this particular topic on the internet.
Would you say it is possible? And if yes, do you have any information you can share with? Like how to initiate the call and so on.
Thanks!
forceu said:
Hey Guys, I also posted this question on Stackoverflow.
okay, here's my problem: I am developing an app that reads out SMS while driving and therefore connects to to a bluetooth speaker (mono) using startSCO.
Thanks!
Click to expand...
Click to collapse
Whether you have code for that?(connecting to mono headset) I am in need of it
Sure ^^
http://developer.android.com/reference/android/media/AudioManager.html#startBluetoothSco()
But I think this is SDK8+ only, before that there is a function called AudioManager.setRouting or something like that =)
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A

Help needed

Hi all,
I have searched all over the net for a specific question but cannot find the answer I am looking for.
I have a Galaxy s3 & believe I have the 'low mic problem' that is documented in many Galaxy phones. I have turned off 'noise reduction' which may have helped but my main question is this: When I go into 'ServiceMode' & attempt to choose 'Audio' (by touching or by selecting input and 5)
nothing happens? All other options allow me to go in further. Can any of you help me? And is there another way to boost mic?
I have just converted from Crapple & am very happy with phone bar this one problem.
Have you tried recording audio with the Voice Recorder and playing it back?T
This will check if the issue is caused by the voice call (which can be anything from ROM over modem to provider) or hardware (microphone)
d4fseeker said:
Have you tried recording audio with the Voice Recorder and playing it back?T
This will check if the issue is caused by the voice call (which can be anything from ROM over modem to provider) or hardware (microphone)
Click to expand...
Click to collapse
I have tested voice recorder & playback is perfect (recognises whispers to shouts).

Recoring and inject audio in a phone call from Android

Hello,
I am trying to programatically play an audio file (WAV) on an Android phone and inject that audio into a phone call so that remote party on the other end of the call can hear that audio. Is there a way to inject audio into a voice all? Likewise, I also need to record downlink voice call audio on the Android phone. This is for an internal project and not for commercial/consumer use.
I read in blogs that some modifications to the kernel would allow such audio inject & record and in another blog, I found commands such as aplay, arec and amix could help. Anyone knows how to do this?
I am open to pay up to $10K for a working solution on Samsung S3.
Thanks.
Jay
Have you had any success? I found your posting after googling a similar query and hoping you've had better luck than I.

[Q] CM10 audio gateing

so it seems CM10 (jellybean maybe?) has a built in audio gate, at low sound levels it cuts out frequently (I listen to a lot of classical\chill type music to help me sleep) it also shows up when takeing quiet calls (call centers mostly)
anyone know if there is a way to disable this?
i did a search and one user brought this up before but no solution was offered

Categories

Resources