Play Audio on Active Call - Android Software/Hacking General [Developers Only]

I'm trying to find a way to play PCM audio on an active phone call.
The Java API is not capable of doing this, so I'm now going through the native approach by using the AudioHardwareInterface that is exposed by the libaudio.so library.
Before I move forward, I wanted to check if anyone already accomplished that already. And also if anyone has any other suggestions?

Related

Apps like Skype but without Frequency Cutoff?

Hi! I need to start a voice chat with someone else over android, but the audio I'm sending them is all under 250hz. Audio chat applications such as Google Hangouts and Skype all filter out these frequencies to increase audio clarity and reduce space, however it is crucial that the other person is able to hear very low frequencies clearly on their device.
Is there any app I can use for this?
What is the purpose for this? I always ended up using easy voice recorder on the highest quality and then emailing the files. I don't know if there is such an app. If you are looking for one such app. Search for something with only voice. Most popular clients with video will have compressed streams I would assume.
What about the ventrillo or teamspeak clients for android. Give them a go.
Taconut said:
Hi! I need to start a voice chat with someone else over android, but the audio I'm sending them is all under 250hz. Audio chat applications such as Google Hangouts and Skype all filter out these frequencies to increase audio clarity and reduce space, however it is crucial that the other person is able to hear very low frequencies clearly on their device.
Is there any app I can use for this?
Click to expand...
Click to collapse
In fact, I have been searching for something similar over the past few days and have found that the Phumble android app, which serves to use mumble servers, has an extensive set of audio configurations to use.
Orcam said:
In fact, I have been searching for something similar over the past few days and have found that the Phumble android app, which serves to use mumble servers, has an extensive set of audio configurations to use.
Click to expand...
Click to collapse
Awesome! I'll check it out!

Audio Recording App with Monitoring/Live Recording/Active Listening????

So I need to record a track, and I have a 3.5mm splitter plugged into my Droid Turbo and the input and headphones connected to the splitter. Sound comes in and out just fine, I can record and playback without any problems, but I cannot find and Android app that has a good monitoring feature; meaning while recording the phone simultaneously outputs everything it inputs, allowing me to listen to myself through the headphones while recording. I say a good monitoring feature because there is one app, Miidio Recorder, which claims this feature, but has extremely high latency and almost a whole second of lag. There are many ios apps that I have personally used which can accomplish this perfectly, but I cannot find one single Android app.
The apps I have tried so far are:
Miidio recorder
Fl studio mobile
Caustic 3
Pocket studio
At least 5 or 6 different audio recording apps.
If anyone knows of or can code a simple app that does this I would greatly appreciate it.
Thanks
[EDIT] this is my first post so if I'm supposed to like add anything or something please lmk
Wow, almost 5 months, no reply. leaving a reply because I too would like to know the answer. Is it an Android issue or just plane dislike of developers for Android owners??

How can I get audio mixer output or playing music stream?

Sorry this is not "general" question but I have no enough posts to ask in developers room. I do not want waste a time therefore I ask what I really need. Please answer on topic.
I need get stereo PCM 44/16 audio in buffer but I still cannot find good way to do that. I can get "mic" stream but it is not exactly stereo - buffer has odd samples equal to even. It is 2 channels mono instead. Any solution for native Qt/C++ or Java code is acceptable for me. But it must work in all Android versions starting from 4.0.3. I need "what you hear" signal or at least "now playing music" stream. This must work with any music source. I look at tiny-ALSA but I'm not sure if it will solve my task. Should I distribute tiny-ALSA with my application or it is built in all Android devices? Or may be I can get just a stream like OSS /dev/dsp gives? I tried copy from /dev/snd/pcmC0D0 but without success. Any help appreciated.

Can you revoke an app's permission to gain audio focus using adb?

Trying to get one badly programmed app (Pokemon Go) from interfering with another badly programmed app (Audible). The former takes audio focus with no sound enabled and no way to stop it, the latter has no option to ignore it, only switch between pausing and lowering volume.
This may be a dumb question as I'm not aware of what exactly can be done in adb or whether there's a permission you can revoke for audio focus (stock moto z play nougat), but is it possible to revoke pogo's ability to gain focus? Or Audible's ability to notice it? Without root.
Same exact question, with exact same phone (stock moto play) , exact same apps (audible vs pokemon go). Anyone?
https://www.xda-developers.com/pokemon-go-audio-focus/
I was wondering if I could disable audio focus for all apps?
Like maybe continuing listening to music while talking on the phone(basically merging both audio outputs). Or playing game while listening to good music or podcasts. Etc etc. Is there a way rather than doing it individually. Ya I have seen the Pokemon go Audio focus thingy.

Play sound file to a voice call, and record on the other side

I need to test if some call functionalities are working, and i need to make a voice call from Phone1 to Phone2, play a test sound/tone (eg. from a .wav file) into the call, record it on the other side, and then compare to the original sound file.
Is there any documentation on the .wav->call playback and call recording on android? I can use any modern android phone from a reputable manufacturer (i have a budget), rooting is not an issue, i can install custom roms, whatever. I have some linux experience, but have never developed for android. I have noticed there is alsa support on android, but I haven't tested it out (cross compile aplay, select the 'call output device' - if it exists?, and play the sound there?).
So, is there any documentation, any existsing projects or anything in that direction anywhere?
Thank you for any info!

Categories

Resources