Questions tagged [audio-route]
22 questions
18
votes
1 answer
understanding mixer_paths.xml in android
I am currently learning the audio domain of android OS with qualcomm chipsets. I have come across mixer_paths.xml file. I have been trying to understand the convention of writing and modifying the files. But I am not able to find any proper…

pradeepmcp
- 182
- 1
- 9
9
votes
0 answers
TextToSpeech audio routed to phone speaker instead of bluetooth headset
I have an app that uses android.speech.tts.TextToSpeech.speak() to readout messages.
The messages are only supposed to be readout to a connected bluetooth headset. So before I call the speak method I check AudioManager.isBluetoothA2dpOn();
Speak…

noev
- 980
- 8
- 26
4
votes
0 answers
How to find the available audio routes in iOS 7?
I am new to iOS, i have a problem which need to find the available audio routes in iPhone (iOS7)? (like if headphone is connected it should be both iPhone and headphone,if Bluetooth and headphone is connected it should
be all the three).
I have…

Nathu
- 41
- 2
3
votes
1 answer
Audio Routing in tinyAlsa
We are working on Custom Board having Audio Codec, AM/FM Tuner, BT Headset, BT Classic all controlled by I2S peripheral. We wants to route audio from BT Classic to Audio Codec, BT Classic to BT headset and so on.
We were planning to have seperate…

M Syd Ahmed
- 31
- 3
2
votes
1 answer
OnePlus 5 can't start speaker in call mode via audiomanager
I tried to set the device audio to speaker in call mode.
Its working on most of the devices I checked.
I purchased the OnePlus5 device and its not working on it.
final AudioManager audioManager = (AudioManager)…

motis10
- 2,484
- 1
- 22
- 46
1
vote
0 answers
How to QJackCtl with ASIO and virtual audio devices
Setup:
Windows 10 Pro x64 20H2
Sound Interface Behringer U-Phoria UMC-22 (using with ASIO4ALL)
Headphones Logitech G533 (through ASIO4ALL as well)
I need to be able to manage my audio inputs/outputs so i could playback my guitar but also could let…

Владислав Глазунов
- 11
- 1
1
vote
0 answers
Can USB microphone & device's speakers work simultaneously?
Long story short, I just wanted to know if it's possible (and how) to have as audio input some external device (like USB microphone) but at the same time, as output the device's speaker/s ?
Use case example : video conference.
I managed to make it…

Ionut J. Bejan
- 734
- 11
- 28
1
vote
0 answers
Trying to route STREAM_MUSIC to speaker and STREAM_VOICE_CALL to Headset/Earbuds
I am trying out the technique proposed by @Michael from this previous SO answer but not having any luck. I am trying to simultaneously play a STREAM_MUSIC stream to the speaker while sending STREAM_VOICE_CALL streams to a plugged in earbuds.
The…

Electro-Bunny
- 1,380
- 2
- 12
- 33
1
vote
1 answer
Android: Detect current audio channel
I'm looking to detect how the audio is currently being outputted in my android phone.
I've been testing with:
android.bluetooth.headset.profile.action.AUDIO_STATE_CHANGED
Which offers information when the current audio device is a bluetooth head…

Andrew Wong
- 77
- 4
1
vote
0 answers
Jack2 internal audio routing in Ubuntu 14.04
I am trying to accomplish the following in Ubuntu 14.04.
I have installed the SIP client Linphone and want to connect its audio to Adobe Connect that runs in a browser (Firefox, for instance). So what I need is a two-way communication such…

Botond
- 2,640
- 6
- 28
- 44
1
vote
0 answers
Can we enable/disable Call Audio Routing setting in ios programmatically
I'm starting a call in ios programmatically like this:
NSString *telString = [NSString stringWithFormat:@"tel:%@", @"9898989898",];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:telString]];
Along with this, I want to enable…

Uniruddh
- 4,427
- 3
- 52
- 86
1
vote
0 answers
Route calls audio to earpiece Android M
I would like to hear audio calls from earpiece and speak with default smartphone's microphone when earphones are plugged in.
I read lot of questions on stackoverflow but nothing of them works with Android M (developer preview).
Thare are a lot of…

Tenaciousd93
- 3,438
- 4
- 33
- 56
1
vote
2 answers
iOS: Missing audio routes/sources in MPVolumeView
I work on an audio app (using audio units).
One of the requirements is to be able to change the audio route from the UI (Earpiece, Speaker, Connected Bluetooth device etc.).
I use the MPVolumeView for this.
Recently I have a bug with the list of…

Michael Kessler
- 14,245
- 13
- 50
- 64
1
vote
1 answer
Is there a notification when the user unplugs the headphones?
I remember the keyword audio route changes and believe there was a notification for this. What's the easiest way to intercept that the user unplugged headphones or plugged headphones in?

openfrog
- 40,201
- 65
- 225
- 373
0
votes
0 answers
Play audio file into incoming call
I want to play an audio file into an incoming call so I'm going to change mixer_paths.xml but it's not working.
is there any way to do it?
in my hardware folder, there are folders called qcom and qcom-caf
after i'm answer call in logcat shows lots…

zpvk
- 124
- 1
- 10