[Q] [DEV HELP PLEASE] - Record Line-in in my app - Android Q&A, Help & Troubleshooting

Hey guys and girls;
im new to android dev and java but have managed to get most of the stuff i need/want working in my app, the last piece of the puzzle i am trying to get working is recording a line in input to some sort of audio file, the problem i have is i cant find ANYTHING on how i might go about this.
Can someone give me a bit of help as to how i can get this working? I am not asking for full source (although that would clearly be helpful...) but more some directions as to where i can start making this work by myself.
Thanks for any help that can be offered;
Andy
EDIT:: Sorry just to be clear, i dont want to record a phone call or anything, i want to record from an external audio source, so was planning on using the pseudo line in from the headphone jack

Related

[Q] is there any virtual audio cable for android?

Hi there
A good friend of me cant talk because he had no tongue because of an car acident
Now to my idea is there any way to build a soundboard that can work with calls?
windows can do it with something like a virtual mic but idk if it is possible to make it with android
Any idea?
All i need is a way to bring the audio signal from an app something like tts to the microphone
Thats my idea but dont know how to realize
plz im me
Come in guys ... No ideas?

[Q] Audio drivers interaction and where to start

Hi everyone
I am looking into making a app with system wide audio streaming (watever sound the phone is pushing out of the phone streamed) and was wondering where I should start and where do I find the audio drivers,I do need a lot of help so if you can contribute in any form or way or tell me that I can do it without root will be great
I am hoping someone here has some knowledge and can help in any way or form

audio question NO VIDEO

hi there,
if this is an annoying noob question, please ignore. i have read the forum rules and stuff, and watched the video. maybe my question is out of place here, but i thought i would give it a go.
i have a question regarding recording AUDIO, ie NOT audio in a video recording, on the galaxy SIII.
i'm a record producer and i would like to make decent sounding recordings of bands in rehearsal. i would like them to be not distorted and preferably in stereo. the only app that i came across on the market so far that gives me the option of recording in stereo and controlling the input gain is recforge pro. however, its 'stereo' options never seem to use the 2 mics on the SIII (its 'stereo(native)' mode records only either left or right side at random) , and in recording loud bands, the audio gets distorted anayway, even if i put the input gain on its lowest setting.
i just want to know if what i want is possible with this phone. i've been scouring these forums for hours now, and honestly couldn't find any decent answer to my question. if what i want is possible only by rooting the device and installing a custom ROM, i'm willing to do so. but i don't have the time to spend days in trial and error. so, if anyone here could answer my question and/or is interested in developing a ROM for me, i would most definitely be grateful.
thanks in advance,
stokki.

[Q] Audio input to output

Hay guys I'm running second generation moto e 2015 LTE. I was wondering if anyone could give me a hand in trying to figure out how to route my Androids audio output to its input. From inside the Android it self. You see I'm trying to play music and prerecorded audio. That way it streams properly and can be heard by others in the correct quality. Having the idea that it can be accomplished somehow in the root. I work with C++ but I'm kinda of at a loss here. Any help would be greatly appreciated. I apologize ahead of time for writing the title backwards.
This should be possible by manipulating the ALSA settings within Android. Unfortunately, this is not particularly easy to do.
This page has a bunch of good information that might help you:
http://stackoverflow.com/questions/...dio-creating-alternate-sound-paths-in-android

[REQUEST] Choose main microphone

Hello
I'd like to request an xposed module for picking the microphone source. Since the main microphone of my Sony Z1 Compact is broken, but my secondary mic is working fine: is this possible? I am not a programmer, but this seems to help:
http: //developer.android. com/reference/android/media/MediaRecorder.AudioSource.html
I would like to pick the main microphone for calls/skype/whatsapp-calls etc.
Please let me know if this is possible. Thanks!
(I'm running Stock-Rom 14.6.A.1.216 with root access)
I'am looking for the same thing, but i have an S3 International. My main mic (Builtin_mic) is broken but the second one (camera mic) works well. I'm looking to find something in audio_policy.conf but i'm not sure i'm searching in the right place. Please help us!
pniappain said:
I'am looking for the same thing, but i have an S3 International. My main mic (Builtin_mic) is broken but the second one (camera mic) works well. I'm looking to find something in audio_policy.conf but i'm not sure i'm searching in the right place. Please help us!
Click to expand...
Click to collapse
If someone knows where to change it manually, this would be helpful as well. No need for an Xposed-Module, but I thought it would make things easier
I already asked to some devs but unfortunatly they all have no free times to do this. There is an app called "SoundAbout" that allow to change the default output settings (earpiece, speaker, bluetooth etc.) It would be awsome if could exist an app that allow to change the input microphone like "Hi-q mp3 recorder" that allow to record from the back mic too, but only inapp, without changing settings to e intere phone.
I'm with you guys.. bump for this request
No ideas? Would be a huge present for me, since I wouldn't need to buy a new phone :angel:
Doesn't even have to be an Xposed Module.
BUMP
I knew a way but I forgotten.
damn.
need It badly
Hi, have you find some way to do it ?
My Camcorder sound is horrible, but when I select MIC source, audio is way better for audio input. But I don't find too how to set MIC as default for all-apps...
Thanks for any help
Anyone found a solution yet? Asking for my Motivation X 2014.

Categories

Resources