[Q] USB DAC in SlimKat - SlimRoms Q&A

Hi, I just want to ask if there are any plans on usb audio out, so we can use external DAC's
I know external DAC's work in cyanogenmod kitkat but not in many other kitkat roms.
I hope this doesn't sound like I'm demanding to get this done, in fact I may be able to help with the right pointers.
Thanks.

Related

USB Mic and Bluetooth Mic

Hey guys, new to the Rooting community, but I would first off like to thank each and every person that has put time into these projects. The possibilities that have been unlocked on different devices has been enormous and its all thanks to the dev community.
I do however have a question, I recently took my NC and installed Ginger Bread and then Ice Cream Sandwich onto it with no troubles. However upon reading everything that has to do with Bluetooth Audio Input and USB Hosting, theres something that doesn't quite add up.
I can successfully connect to my Bluetooth headset with both the built in Bluetooth and a Rocket Fish dongle that I used through USB Hosting. However I get no audio input, I know that this is a known problem and it has to do with a possible lack of audio codecs and some other ideas that I have seen thrown around.
What doesn't add up though, is that when I connect my Logitech USB Microphone using USB Hosting it works perfect and gets picked up by every app. So my question is, what is the difference between the USB built in drivers and the Bluetooth driver that was unlocked?
From my understanding the Audio input file, driver or whatever it may be sits as a separate file. So with that in mind wouldn't that mean that the file exists, because the USB Microphone is using, so why exactly doesnt the Bluetooth connection pick up the Bluetooth ear piece as a microphone and refer it to the same audio input file?
Once again this is basically me spit balling and asking some questions. I was looking through the source code for the Nook Tablet (Trying to find its internal mic driver) and noticed that there was an audio C file and was wondering if that is what is being used by the USB devices to recognize Audio Input.
Anyways, any response would be great, one of the last tweaks that I would love to help get worked out as I planned on making myself a lovely Voice Control app to run on my Nook Color, and a Huge USB headset is rather illogical.
vadlak said:
--SNIP--
the source code for the Nook Tablet (Trying to find its internal mic driver) and noticed that there was an audio C file and was wondering if that is what is being used by the USB devices to recognize Audio Input.
--SNIP--
Click to expand...
Click to collapse
Since you're apparently asking a question about a Nook Tablet, not a Nook Color, you should probably redirect it to that forum.
Audio on Linux and therefore Android is a huge can of worms that even most developers can't figure out. Bluetooth is yet another very difficult library and has its own way of dealing with audio in and out. A2DP media audio out protocol has no audio in capability. As far as I know, no one has ever sorted out or enabled hands-free protocol for the NC, which is what it would take to do a headset with mic.

[Q] OTG USB Audio possible without reboot?

Does anyone know of a kernel allowing users to "hot plug" a USB DAC to get audio out?
Poitee and Trinity seems to support at least USB audio after a reboot, but so far I have had no luck identifying something that will simply allow me to place my Nexus 7 in my dock (with OTG USB DAC connected) and have the audio automatically routed through the external USB DAC.
Therefore, does anyone know of a rom/kernel allowing this (since my Samsung Galaxy S3 can do this)?
No one out there who knows? :crying:
I'll second this. I am installing my Nexus 7 semi-permanent in my Car, and i'd like to take it out and use internal sound without rebooting it every single time.
// Per.
Yeah, I was keen on making a car install too, but this is for a dock I am building.
I can tell you it involves B&O design and pure awesomeness, guess I cannot post images or give links until I reach 10 posts though.
Hotplug USB audio is indeed possible on the Nexus 7, it seems that a few of us all have similar plans for our Nexus's
Give this a try -> http://forum.xda-developers.com/showthread.php?t=2029728
If you have any issues try and reply in that thread so we keep them all in the same place.

[Q] Audio USB output

Has it surfaced any solutions for the USB audio problem that came with the S5?
In S4 I had no problem using docking cables like "cable jive" by just selecting USB as audio output, but with the S5 that suddenly got more difficult.
As we are getting some custom roms and rooting... Is it any roms out there or apps that can enable the USB audio for docking?
aleksander.lyse said:
Has it surfaced any solutions for the USB audio problem that came with the S5?
Click to expand...
Click to collapse
You're asking questions about specific USB audio features.. but not explaining what they do or what you are referring to.
USB audio works fine for me. The S5 supports a range of DACs, much the same as previous S4, S3, etc models did. A forum search would show a number of existing threads about USB audio and a lot of useful information there.
If you have remaining questions, you should elaborate in a lot more detail what you are trying to do. In particular, explain what proprietary products do, insread of just mentioning their names.
.

[Q] Audio over USB with Android 5.0

I know there have been threads in the past about the Nexus 4 not being able to support outputting audio over USB, but now that stock Android 5.0 supports it, can the Nexus 4 do it?
I'm using the factory 5.0 images and I have an external DAC/amp that I want to use (Fiio e18) that's made for Android, but nothing seems to happen when I hook it up. I've read posts that the Nexus 4 physically can't output power over it's USB, which is fine because the DAC has it's own battery source... but can it at least output the audio?
I started with the stock kernel, but also tried the latest Franco kernel (r214) with no luck. Also, I verified the DAC itself works by using it with my laptop. I'm hoping there's just some hidden setting or patch I need to apply to get it to work... Has anyone else tried this yet?
kerb12 said:
I know there have been threads in the past about the Nexus 4 not being able to support outputting audio over USB, but now that stock Android 5.0 supports it, can the Nexus 4 do it?
I'm using the factory 5.0 images and I have an external DAC/amp that I want to use (Fiio e18) that's made for Android, but nothing seems to happen when I hook it up. I've read posts that the Nexus 4 physically can't output power over it's USB, which is fine because the DAC has it's own battery source... but can it at least output the audio?
I started with the stock kernel, but also tried the latest Franco kernel (r214) with no luck. Also, I verified the DAC itself works by using it with my laptop. I'm hoping there's just some hidden setting or patch I need to apply to get it to work... Has anyone else tried this yet?
Click to expand...
Click to collapse
pls report your findings if you can make it happened!!
i can not help you with your problem but it is something that interest me too. i only can suggest to use a more feature enabled kernel like unleashed or hells core
pls report your findings if you make it work mate!
That's a good idea... unfortunately no dice with the latest unleashed kernel either (98u). It claims it supports USB OTG, so I was hoping that would be enough, but maybe there's more that needs to be done.
kerb12 said:
That's a good idea... unfortunately no dice with the latest unleashed kernel either (98u). It claims it supports USB OTG, so I was hoping that would be enough, but maybe there's more that needs to be done.
Click to expand...
Click to collapse
one thing that you might not know. nexus 4 does support usb otg BUT cannot provide electricity via usb. you must use a y cable and provide external power so you it might not be possible to use your DAC!
Thanks, I did know that, but I figured that since my DAC is self-powered (it has its own battery) that I wouldn't need to do the y-cable trick.
Worth a try though, I'm going to order one and see if I can at least get regular USB OTG to work. Maybe once that's working it'll be easier to troubleshoot the audio.
Just wanted to update, I got the Y OTG cable so I could have external power at the same time... but still doesn't work. This is with stock 5.0.1 and unleashed 98u kernel. I went into Synapse and enabled the OTG setting as well. DAC doesn't get recognized, and I tried a few free apps that are supposed to do OTG checks, but they all came back that nothing is attached.
Usb otg is one thing and uab audio out is another. USB otg means that you can connect an USB stick or external hdd to your phone ( with or without external power) USB AUDIO OUT need special circuits from your internal Dac to the USB. If those are not implemented you will never have USB audio out. This is something witch depends on the manufacturer ( S4 mini with snapdragon 400 don't work with USB otg or USB audio out, htc mini 2 M8 works perfectly with fiio E18 as a audio surce for external DAC). So if you really need USB audio out please next time do your homework and read before buying a phone. P.S. Htc mini 2 M8 has the best audio ever and really you don't need an external dac. If you need more power just use your fiio as an amplifier with your phone.
Maybe you could find for your phone a apecial kernel modified for better audio experience. Flash that and use your headphones.
Good luck!
Thanks, yeah I don't need usb audio out... I've had the phone for over 2 years and I still really like it, so no plans on getting a new one just for this.
I believe it's physically possible to do audio out on the N4... I've seen random posts about people getting it to work, but they've all been on custom ROM's based on 4.4.x stuff. I'd really rather not try to reproduce that since 5.0 is running so much better on my phone, and I was just hoping with the new native Android support it might work out of the box. But alas, it looks like google locked down 5.0 on the N4 - even USB OTG storage doesn't work unless you put a custom kernel like unleashed on.
In the meantime, I've just been using it as a headphone amp like you suggest and it's a big improvement.

Does anyone know if this phone supports usb audio?

I'm planning to buy a HiFiMeDIY Sabre Android USB DAC and would like to know if it is compatible with our device
I'm currently on Resurrection Remix 5.8.2
Thanks in advance.
Hi,
I would like to bump this thread. What I did found out, that for now, Redmi 2 can pass audio through usb only with usb audio player pro - without this app, with DAC connected to microUSB, sound still goes through speakers o minijack. In theory, in base on this document https://source.android.com/devices/audio/usb, most of audio_config files in recent Oreo roms, have this lines of code in kernel. But still, running for example LineageOS 15.1, this problem still appears. Can anyone answer, what could be a reason for that and/or have idea how to debug this problem?

Categories

Resources