How to control 5.1 speaker setup connected to Android? - Android Q&A, Help & Troubleshooting

I'm building a carPC, which connects to a 5-channel amplifier using a USB sound card. I have two sound cards available; a Sound Blaster X-fi, and a generic no-name one with a CM106 chip inside.
I'd like to use android-x86 for the OS, and I read that Android 5.0 and up supports external sound cards. However, I can't find a single app that offers a mixer that recognizes multiple speakers. I need front/rear, left/right and sub speaker balances, but I'm straight out of luck finding any support for this.

Related

[Q] Android phone as bluetooth gateway.

Hi guys,
After hours of web searches, forum trawling and experimentation, I have yet to find an answer to my question.
GOAL: To connect an old, Android bassed phone handset to an analogue amplifier and use it as a bluetooth passthrough gateway.
I have an old Sony Ericson X10 at my disposal which I would like to connect (via a 3.5mm jack to RCA) as a permanent fixture to my outdoor analogue amplifier and speaker setup. Ultimately, this phone would act as a bluetooth gateway to which other bluetooth source devices could connect and stream music stored on said source devices via this gateway to my audio setup.
The control and volume, as well as the media storage would be taken care of by the source devices and audio passed via bluetooth to the audio setup.
I have tried many apps available and have found none to do this basic task. If there is one available, or similar, I would love to hear about it!
Regards,
Jordan.

Using SGSI i9000 to stream music from NAS etc to my Hi-Fi

I’ve been looking a various solutions to stream music to a Hi-Fi such as Squeeze Box and Sonos, and am wondering if I could use my trusty old SGSI i9000 to stream from a NAS or other DLNA enabled device? I believe to Wolfson DAC is quite good for a phone, so I could connect the phone to the amp with a phono lead, but I also wonder if I could attached an external DAC via a USB adaptor to improve the sound output. I know this can be done on the S3 and some tablets, but not sure of the situation with other phones. I am ok with routing and custom ROM’s if that helps. Please note I do not want to play music stored on the phone, as my library is already 200gb and rising, but use it as a conduit to get the music from storage to the Hi-Fi
paddyb said:
I’ve been looking a various solutions to stream music to a Hi-Fi such as Squeeze Box and Sonos, and am wondering if I could use my trusty old SGSI i9000 to stream from a NAS or other DLNA enabled device? I believe to Wolfson DAC is quite good for a phone, so I could connect the phone to the amp with a phono lead, but I also wonder if I could attached an external DAC via a USB adaptor to improve the sound output. I know this can be done on the S3 and some tablets, but not sure of the situation with other phones. I am ok with routing and custom ROM’s if that helps. Please note I do not want to play music stored on the phone, as my library is already 200gb and rising, but use it as a conduit to get the music from storage to the Hi-Fi
Click to expand...
Click to collapse
Hi,
You could try ArkMC app on Google play , it's streaming video by DLNA , it's well done
Regards
Hi Brya, thanks for making this your first post! The ArkMC app looks good. There are many DLNA streaming apps and this looks like one of the better ones.
My situation though is that if my Hi-Fi isn’t a DLNA device and only has phono input, can the phone stream a file from a NAS etc, play the file on the phone and output it through the headphone or micro USB socket to an amp. I think now that I’ve typed this out that the answer to this is yes.
So next question, how good is the audio quality going to be from such as set up? I think this depends on the DAC in the phone, which is quite good for a phone but probably not great compared to £300-£500 mini system. I’d welcome feedback on this.
Then the question is, can I connect an external DAC via the micro USB port?
For info, I haven’t actually got a Hi-Fi at the moment. I’m weighing up buying a mini system that includes a network streamer against more expensive and better sounding separates that do not (though they may have a USB input) and seeing if this would be a viable option for playing digital music.

USB DAC as main audio output

Hello,
I am making navigation system out of my android tablet, and i faced a problem that not all times i connect USB DAC, android sends audio data to USB, but rather to internal speakers (some times it does that, sometimes it does not)
Is where a simple way how to set to use USB as main audio source, and block headphones or any other audio source ?
Same apply to FM radio, i can plug headphones so it would act as antenna, but i still need audio to be rooted to USB DAC
Small support via PayPal for some one who give me the right answer
I would like to know too

Any way of adding an audio input to mix/play with the rest of the android sound?

The KLD2 I have has an AV input but one has to switch the MCU specifically to the AV input in order to listen.
What I am looking for is to have an audio input which mixes/plays full time with the rest of the android apps without having to explicitly switch to it. Has anyone done this? Do any usb devices exist (with android driver support) which implement an audio input and play real time what's coming in?
Yes, people have used a USB DAC, you need to search the original Q&A thread here :
https://forum.xda-developers.com/showthread.php?t=2660662
and maybe the MTCB Hardware Development forum. Try this first, its shorter !
Ok, I'll search that thread. DAC (Digital to Analog Converter) are used for the opposite thing though - to output sound from the MTC unit to an external amplifier or some other device. I am looking for the opposite (ADC) - to bring sound from external analog device into the MTC (and have the MTC mix/play it along). I've searched for USB ADC in the past but haven't found any interesting info yet.
shtirlitz111 said:
Ok, I'll search that thread. DAC (Digital to Analog Converter) are used for the opposite thing though - to output sound from the MTC unit to an external amplifier or some other device. I am looking for the opposite (ADC) - to bring sound from external analog device into the MTC (and have the MTC mix/play it along). I've searched for USB ADC in the past but haven't found any interesting info yet.
Click to expand...
Click to collapse
Doh, stupid me, but maybe an ADC will work in a similar way, via USB etc, so DAC posts may still help ? A seatrh for DAC should bring something up, btw, sometimes it works better to use google to search threads on XDA.
You are looking for something called an audio interrupt device. They used to be more popular when GPS nav units came out and people wanted voice nav over their stereo. They can connect by various means but you'll need to do some research to be sure it will work with your car and stereo setup.

Android USB Multichannel Audio Routing

Hi All,
I have been searching about this topic for months I cannot find a method to use 6 channel usb dac or HDMI Audio output on Android. I dont want surround sound at all, but I would like to use my phone as the infotainment engine. However I should be able to route notification/phone audio to a specific channel lets say front left. I checked android hal service for related interfaces but configuration files doesnt really show clearly how can I implement this.
Are there any kind of example of this? Can you please advice me how can I do it. Even if I can manage to make one stereo pcm output for media + mono pcm output for notifications and calls that should be enough too. I can do the rest with a microcontroller.
One more question I heard few times androids audio mixer layer is so crappy that makes jitter on pcm signals, how is your experiences? For instance qualcomm based socs have integrated dsp why phone developers gets benefit from it?
Thanks
Hi, mbt28 did you manage to find a solution for this?
I'm searching for exactly the same solution, to somehow output digital stream (containing multiple audio tracks) to a DAC, which will then convert it to multiple analog tracks.
Kasparas
I've got multichannel analog output working on my H96 Max V58 tvbox, with a Startech 7.1 channel USB soundcard. It's got Android TV OS 12. I had to edit /vendor/etc/usb_audio_policy_configuration.xml to add the necessary info. I'm attaching a diff with my changes. The changes are just based on what I saw for the HDMI policy. I haven't tried to get the digital channels working on this device yet but that might be nice to try later too.
The reason I deleted some text from the header comment was to keep the overall filesize the same as the original. On my box /vendor is mounted from /dev/block/dm-1 and even though it's an ext4 filesystem, you can't edit any files on it because the FS has no free blocks left. So I had to overwrite the file by finding its byte offset in the block device image instead. If you can edit the policy file on your box, you can ignore that part of the diff.
PS: this is the USB soundcard I used https://www.amazon.com/StarTech-com-7-1-USB-Sound-Card/dp/B002LM0U2S
It works OK except its USB jack is flaky, doesn't always get a good connection. I have to jiggle the cable sometimes to get it to power on, but then it works.
PPS: I just checked, the SPDIF out works as-is, carrying the front left/right audio.

Categories

Resources