Change audio server? - Android Q&A, Help & Troubleshooting

Hey!
I'm on daisy using LOSQ GSI from eternityson. It's rooted with Magisk-phh I wonder whether there are other audio servers available on Android that I can't find. It's because for me the default one (AudioFlinger) is really bad.
What I'd like to do is :
Completely disable AudioFocus to be able to play two sounds at once.
Connect headphones with microphone and use the phone's one anyway (but listen the other person with the headphones)
If the answer for my first question is no, how can I do the 2 things above?
Thanks!

Related

dev competition - disabling headset remote

Hello developers,
You are simply great. You make a lot of nice stuff day by day. Thanks all of you!!!
My question:
Can someone of you disable the hero receiving signals from the headset. Even if I use simple earphones, when I stand up, or turn my body, the music stops, the phone calls the latest called person.
Can somebody do it?
Roland
You can use a different music player from the market. As far as I know not every app reacts to remote commands
You should edit your /etc/bluez/audio.conf file
[General]
Enable=Sink,Headset,Gateway,Source
Disable=Control
This SHOULD work, but you've gotta test it.
@klaus27
it's a good idea
but it still makes calls
@adwinp
I don't have this file
which ROM has it?
liljom said:
@adwinp
I don't have this file
which ROM has it?
Click to expand...
Click to collapse
EVERY ROM has it.
just adb pull it, and re-push it, then reboot.
Or you can edit in place, just remount /system/ as rw, open the file in nano, and that's it.
liljom said:
@adwinp
I don't have this file
which ROM has it?
Click to expand...
Click to collapse
Try /system/etc/bluez/audio.conf
/system/etc is the real location of the etc folder. /etc/ is a symlink to /system/etc, and maybe it's not there in all ROMs.
EDIT: Although, I'm not 100% sure changing the bluetooth settings will affect a plug-in headset.
I found it, thanks
I'm editing it right now
It didn't work. : I
The remote still works, and it drops calls if I move while calling
Is there any way to redirect music to bluetooth? That would solve everything.
the file looks like this now:
# Configuration file for the bluez audio plugin (A2DP)
[General]
Enable=Source,Gateway,Sink,Headset
Disable=Control
# Switch to master role for incoming connections (defaults to true)
#Master=true
# Just an example of potential config options for the other interfaces
[A2DP]
SBCSources=1
MPEG12Sources=0
[AVRCP]
InputDeviceName=AVRCP
Is it okay like this?
just buy a set of headphones off eBay for a quid.sorted
I have one and I love it
but it does the same, even if it has no remote
I sit down, stand up, turn around and it drops calls, stops music etc.
what developer can help me to disable it?
it is so stupid. I bought this phone not really cheap, and now I have to buy an mp3 player?!
android is opened
I'm sure, that somebody can help me.
I pay 10$ for the person, who solves it. Exactly: I can listen to music on my wired earphones without changing to the next, calling somebody or dropping call by itself.
I have never had that, but with the apple inear headphones clicking the center button twice made it call the last person in the call list but " Meridian Player conservative " has an option to turn on the controls for the player so now double clicking the middle changes the song! Give it a try
Hoped this helped
If I understand exactly, you use simple headphones WIRED, no BT.
And, try you another headphones? Or problem is in HERO. Some broke down in jack connector?
What original firmware? Same problem?
I use koss plugin with hero fw htc, sensehero1.6 and now with Androbin, without problem.
With my previous phone i have similar problem with hands-free headphones with "call button".
I have sensehero 1.6 on the device and it is the same with the original headset or my simple philips earphones.
But I'll try the meridian player : )
danwar said:
And, try you another headphones? Or problem is in HERO. Some broke down in jack connector?
What original firmware? Same problem?
Click to expand...
Click to collapse
liljom said:
it is the same with the original headset or my simple philips earphones
Click to expand...
Click to collapse
Sounds like its the jack connector then. You got warranty?

Problem with music listening

I`ve a problem with listening to music on my L9. I use Poweramp player. When I set the volume full to show the information about a fact that is not healthy blah blah blah ... and after a few minutes of listening to disconnect the headphones. Plug it in again, I set the volume almost full, and again the same problem. Headphones work fine. In winamp I do not have this problem. How do I fix this?
apphex said:
I`ve a problem with listening to music on my L9. I use Poweramp player. When I set the volume full to show the information about a fact that is not healthy blah blah blah ... and after a few minutes of listening to disconnect the headphones. Plug it in again, I set the volume almost full, and again the same problem. Headphones work fine. In winamp I do not have this problem. How do I fix this?
Click to expand...
Click to collapse
I could not decipher what your problem is from the description. What problem are you having?
When I listen to music, the phone itself "sticking out" headphones. Lose the headphones icon system tray. wrote it
apphex said:
When I listen to music, the phone itself "sticking out" headphones. Lose the headphones icon system tray. wrote it
Click to expand...
Click to collapse
Ahh, I am guessing English is not your primary language.This may be bad headphones, bad application, or a bad phone. Try another pair of headphones and try the youtube app.
kevev said:
Ahh, I am guessing English is not your primary language.This may be bad headphones, bad application, or a bad phone. Try another pair of headphones and try the youtube app.
Click to expand...
Click to collapse
No, it`s not. I tried on other headphones and it is still the same. At maximum volume phone stops see headphones-I do not know how to precisely call it. Just disconnects. On the polish android forum I've seen that not only I have a problem with that, however, no one can find a solution.
apphex said:
No, it`s not. I tried on other headphones and it is still the same. At maximum volume phone stops see headphones-I do not know how to precisely call it. Just disconnects. On the polish android forum I've seen that not only I have a problem with that, however, no one can find a solution.
Click to expand...
Click to collapse
What model is your phone? P7**
kevev said:
What model is your phone? P7**
Click to expand...
Click to collapse
P760. Firmware 10A not branded, rooted
apphex said:
P760. Firmware 10A not branded, rooted
Click to expand...
Click to collapse
I have a P769BK. Maybe someone with your model can help you. You could also try a different firmware.
AW: Problem with music listening
Headphones should work, also the crappy Headset coming with the phone.
I encountered similar problems with a headset and a multimedia headphone adapter for Symbian phones.
Gesendet von meinem Commodore 64 mit BTX Decoder
First thing first.....How is built-in LG Music is doing? Is it working fine with speakers and headphones, etc?
Maybe he's talking about the volume limiter? Whenever you plug in something to the headphone jack, it pops up a notice about restricting volume and/or listening to volume at high levels can cause injury. I know that when plugging the L9 into something as a line-out, I have to crank the volume to max AND crank the volume of whatever speaker/device it's attached to.
For comparison, running the same app and music via a bluetooth media device the volume is equal to that of my iPhone. AKA: it sounds "normal." So it's using some sort of volume limiter on the 3.5mm out as far as I can tell, and I haven't been able to find a way around it. Though I haven't been looking too hard.
There´s this auto-volume-down mechanism, which allows to re-up the volume to max afterwards. But also the phone (P760) seems to follow the EU regulation, which is obligatory for toys only. Volume set to max is still not loud enough for me, as with my Nokia phones. But with Poweramp and Music Folder Player you can get a bit of extra juice, which is sufficient to me. For rooted devices there´s an app to directly control the Linux ALSA sound interface, but I won´t need that.

SGS7 & Xiaomi bluetooth headset

Hello, I bought exactly this speaker http://xiaomi-mi.com/bluetooth-heads...headset-black/ ..and it's really great, I must admit..BUT..the problem is, that it is saying numbers of calling users in chinase and playing some weird ringtone which I don't have as my default (100% something from xiaomi pre-set). Only thing I need is, that it will play exactly that sound like normally from sgs7 speaker, not that from xiaomi. Is this possible to change or anything? Because now it's playing different sound from speaker of mobile and different from xiaomi bluetooth headset and I want to synchronize these sounds into one and that default from mobile, if you know what I mean and understood me (I know that I explained it difficulty, but don't know how to say it in other way ). Thank you.
For better understanding, here are my examples:
Sound from the mobile: http://vocaroo.com/i/s0nHZwmVb329
Sound from the Xioami headset: http://vocaroo.com/i/s0EBPjNUpTTi
And I want to play sound from the mobile to the Xiaomi headset too.

Android audio routing

Hi,
I got a problem that my Samsung Galaxy S5 route all audio to earphones.
I would like to route all media to speaker and all phonecalls to headset (and if possible bluetooth).
I don't mind customizing ROM if needed.
Any idea how can I do that?
Thanks!
Help?
first: ask with understandable words. lol i don't know what are ur plans
i know this is really old but to anyone having these issues, install soundabout you can use it to force audio to a certain output for calls, media, ect really helps when your headphones start to break and android doesnt want to detect them even though they work
EDIT: I misunderstood the last post as a question. Didn't mean to repeat the same answer to an old thread.
Not really a full answer but I am currently having similar issues. There seem to be audio routing apps like Audio Router (https://play.google.com/store/apps/details?id=audiomix.audiooutputsource) and SoundAbout (https://play.google.com/store/apps/details?id=com.woodslink.android.wiredheadphoneroutingfix) than can do the job. I can't exactly tell how they work but maybe someone else knows. Or you'll figure it out.
Feel free to post your results
Have the same problem. But neither Audio Router (https://play.google.com/store/apps/d...ooutputsource) nor SoundAbout (https://play.google.com/store/apps/d...oneroutingfix) can't route SMS notification away from headphones.
Sounds terrible. Most modern android smartphones are worse in this regard than ordinary simple cell-phones.
I wonder how things are in this regard in Windows Background.

LG V60 volume limitation

I upgraded from a V35 to a V60 and an very happy with the audio quality.
However, I listen to classic rock. Now I find that either Android, LG or Verizon has limited the LG V60's volume to 75% while using plug-in headset earphones and/or plug-in earbuds.
After two months of phone calls, in person visits to Verizon and web seatching there is nothing that can be done from a user perspective, that I can find. I've tried a couple of "volume booster" apps with zero success.
I've found this limitation using LG's earbuds, every set of earbuds I own, and, with Beyerdynamic 770's (250 ohm, Note, after reading reviews, I assumed the V60 would drive those 770's w/o issue). The limitation also exists played thru a NobSound DAC.
I've seen mention of "Poweramp" in other audio related threads, used in the thread to boost output from 48khz to 192khz, which should be amazing. But there are several similarly named apps...my guess is the aforementioned app is "PowerAmp Full Version Unlocker", for $5.49. Would this help volume as well?
Is there anyway to defeat this limitation?
Even a 10% increase would be satisfactory.
What if you turn on the DAC setting in the quick-settings? I'm sure you already thought of that.
svetius said:
What if you turn on the DAC setting in the quick-settings? I'm sure you already thought of that.
Click to expand...
Click to collapse
Yes, no effect.
I'm using the Neutron Player app which has a 'use on-board device's volume control' option you could turn off & use your DAC. I did this to use my tablet with an iFi DSD nano and the next time I used the [stupid] USB C to 3.5mm dongle without the DAC, it nearly blasted my ears. So if you try it, be careful when you're not using an external DAC.
The app is a pain to setup but that's because, in part, it has so many configuration options. Think Android vs iPhone taken up several notches. Once it's setup, you'll get used to the GUI/Ux itself which I did not find intuitive. Anyway, there's a free eval. version if you wanted to check it out.
Mojo1114 said:
Yes, no effect.
Click to expand...
Click to collapse
Hmm....I know this kind of sucks, but how about an external DAC? Those usually work via USB C and can provide very loud, very clean output.
Op is using a DAC.
The limitation also exists played thru a NobSound DAC.
yep_nexus said:
I'm using the Neutron Player app which has a 'use on-board device's volume control' option you could turn off & use your DAC. I did this to use my tablet with an iFi DSD nano and the next time I used the [stupid] USB C to 3.5mm dongle without the DAC, it nearly blasted my ears. So if you try it, be careful when you're not using an external DAC.
The app is a pain to setup but that's because, in part, it has so many configuration options. Think Android vs iPhone taken up several notches. Once it's setup, you'll get used to the GUI/Ux itself which I did not find intuitive. Anyway, there's a free eval. version if you wanted to check it out.
Click to expand...
Click to collapse
Thanks. It seems an app will be the solution. And I've seen Neutron Player mentioned in other threads.
To repeat your method as I understand it: Neutron allows me to turn off the phone's volume (which will bypass the 75% limitation) and send the raw signal via Neutron to my external DAC which will ultimately control volume?
And Im a bit confused by your advice to use caution the next time I plug in my phones directly into my phone with my wired headphone's 3.5 jack? That implies the phones limits are permanently bypassed? Am I understanding you correctly?
I'm also curious over PowerAmp app as well. Not being tech savy, intuitive is a plus.
And again, many thanks for taking the time to comment!
Mojo1114 said:
To repeat your method as I understand it: Neutron allows me to turn off the phone's volume (which will bypass the 75% limitation) and send the raw signal via Neutron to my external DAC which will ultimately control volume?
Click to expand...
Click to collapse
Correct!
Mojo1114 said:
And Im a bit confused by your advice to use caution the next time I plug in my phones directly into my phone with my wired headphone's 3.5 jack? That implies the phones limits are permanently bypassed? Am I understanding you correctly?
Click to expand...
Click to collapse
Right, so Neutron has another setting (and it could be Android too, not sure), that starts the app automatically when you connect headphones. Or at least it offers to start, and you can easily accidentally tap it when it pops up. I wanted to bypass my tablet's volume when I connected my external DAC, since that has a hardwire volume control so I enabled that 'bypass device's volume' control. However, later when I went to use my tablet to watch a quick video I plugged in my every day earphones, probably tapped Neutron player unintentionally, and it started playing at max volume. On my V60 phone that probably isn't super loud, especially from what you're saying. However on my Samsung tablet it was screaming loud. It happened long enough ago that I've forgotten the exact circumstances.
Anyway, that control doesn't permanently bypass the phone's volume control. You can shut it off, and I can't say for sure if it has any affect on other apps. I only made that mistake once. Later I realized the volume in Neutron was loud enough with my DAC connected. The internal volume may well be bypassed automatically. I guess I need to listen to some music again through this rig soon to test it out. Unfortunately for both of us that won't be tonight.
Mojo1114 said:
I'm also curious over PowerAmp app as well. Not being tech savy, intuitive is a plus.
And again, many thanks for taking the time to comment!
Click to expand...
Click to collapse
I haven't used PowerAmp since it first came out in the early 2000s with the advent of MP3s. But chances are it is more intuitive than Neutron Player. I'm a professional audio engineer by trade & tech nerd, yet still get caught up in the menus and different screens all the time. If it didn't sound so good and stream DSD files right along side PCM audio, and stream my entire music collection from my NAS, I'd kick it right to the curb.
My pleasure. Hope this helps! Cheers.
Any real solution for this yet? I think it can be bypassed with root access to the build prop or the sound mixer found in system/vendor/etc.
Any rooted user care to check?
Are you saying this can be fix in build prop?? Which entry?
I'm about to root my phone. Have already BL unlock it.
hooutoo said:
Are you saying this can be fix in build prop?? Which entry?
I'm about to root my phone. Have already BL unlock it.
Click to expand...
Click to collapse
It should be in one of those two files. Most likely the sound mixer file though. I don't know exactly how the entry will look but i would guess something like "headphone volume limitations = max 75"
Change 75 to 100 save and reboot.
Again this is all just guesswork I'm not a developer and haven't rooted this particular phone yet and likely won't unless we get a custom aosp.

Categories

Resources