[Q] Does LG G2 support Audio Tunneling to DSP on kitkat? - G2 Q&A, Help & Troubleshooting

[Q] Does LG G2 support Audio tunneling on kitkat? Just like Nexus 5?
Audio Tunneling to DSP
For high-performance, lower-power audio playback, Android 4.4 adds platform support for audio tunneling to a digital signal processor (DSP) in the device chipset. With tunneling, audio decoding and output effects are off-loaded to the DSP, waking the application processor less often and using less battery.
Audio tunneling can dramatically improve battery life for use-cases such as listening to music over a headset with the screen off. For example, with audio tunneling, Nexus 5 offers a total off-network audio playback time of up to 60 hours, an increase of over 50% over non-tunneled audio.
Media applications can take advantage of audio tunneling on supported devices without needing to modify code. The system applies tunneling to optimize audio playback whenever it's available on the device.
Visualizer showing loudness enhancer audio effect
Visualization of how the LoudnessEnhancer effect can make speech content more audible.
Audio tunneling requires support in the device hardware. Currently audio tunneling is available on Nexus 5 and we're working with our chipset partners to make it available on more devices as soon as possible.
Click to expand...
Click to collapse
https://developer.android.com/about/versions/kitkat.html

I'd also like to know that.

Related

FLAC for car stereo.

is it possible to create an ipod emulator or a program that would interface with the car stereo and use the phone decoder and then send pcm wav format to the car stereo?
at the moment none (with exception of ipod) mp3 players use their own sound processing. and theres no flac support for car stereo. the car audio corporations are beeing big ******* and dont want to release the support for FLAC saying that the market is not big enough.( well because theres no support for it)
portable players and home audio already caught up to speed.
at the moment theres 2 options for car stereo
1 ipod that converts all audio to PCM(while applying apple sound processing and EQ) yes it is processed to sound "better".
ipod requires all your audio files to be in their format which is gay.
2 simple USB/mp3 player connection both act as a mass storage and the unit reads compressed data and uses onboard processing for supported formats(aac,mp3,wav,wma...) but still no flac.
to be more specific, pioneer's excuse was that flac needs more processing power which requires either programmable chip or more powerful ROM and it will probably cost them a dollar per unit to produce... yet they are spending time and money designing animated dolphins and other BS for their background...
fuzzysig said:
is it possible to create an ipod emulator or a program that would interface with the car stereo and use the phone decoder and then send pcm wav format to the car stereo?
at the moment none (with exception of ipod) mp3 players use their own sound processing. and theres no flac support for car stereo. the car audio corporations are beeing big ******* and dont want to release the support for FLAC saying that the market is not big enough.( well because theres no support for it)
portable players and home audio already caught up to speed.
at the moment theres 2 options for car stereo
1 ipod that converts all audio to PCM(while applying apple sound processing and EQ) yes it is processed to sound "better".
ipod requires all your audio files to be in their format which is gay.
2 simple USB/mp3 player connection both act as a mass storage and the unit reads compressed data and uses onboard processing for supported formats(aac,mp3,wav,wma...) but still no flac.
to be more specific, pioneer's excuse was that flac needs more processing power which requires either programmable chip or more powerful ROM and it will probably cost them a dollar per unit to produce... yet they are spending time and money designing animated dolphins and other BS for their background...
Click to expand...
Click to collapse
the recommended solution is to convert your flac files to mp3 in order to play them on your car stereos
i know a step by step guide on how to convert flac to mp3 on mac or windows at How to Convert FLAC to MP3 on Mac or Windows
hope it helps more or less
epic thread dig
FWIW: My Audiophile Adventures on Android
What's more important? : quantity or quality?
FLACs eat up sdcard space. that's just a fact. so why not stream it?
For those lucky enough to have UNLIMITED DATA PLANS
Oh, how sweet it is.
- Windows users, I HIGHLY recommend JRiver Media Center as your media server. Why? First, you can't go wrong with it as a base for HTPC anyway.. but because through it's companion app Gizmo (free in Play store), it is capable of using the same audiophile grade codecs to encode / decode your lossless files through URL streaming (HTML5 I believe) and preserve a respectable amount of quality. other solutions could include Plex, Plugplayer, etc.
Of course this works almost flawlessly on a decent WiFi connection, but my main purpose was 4G streaming on the road. I'd say as long as I have a solid 3G/low 4G, buffering for tracks is under 20 seconds. Full 4G is almost seamless (YMMV, I am streaming from a FiOS connection but I see no reason why broadband cable wouldn't suffice). The CONS: connectivity, passing between 3/4G, buffering large amounts of data seemlessly... it's not perfect yet but it definately beats paying for Spotify :good:
For the Less Fortunate! And Data Scrooges!
or you just don't wanna wait.
- Assuming an sd-card + internal doesn't satisfy, you will need to assess your device's USB host capacity. the ultimate goal in this case is to use USB storage to accommodate large collections. You will need a USB OTG cable (they are largely universal but check the reviews). Furthermore, most devices have a different condition for enabling OTG support.
For example: SGS3 is simply plug-n-play for thumb drives up to keyboards. I have a Droid Bionic which comes with several expensive docks, but can be OTG capable with an externally powered USB hub + OTG cable.​
ICS brings necessary usb storage drivers, all that's left is tuning up your operating system to produce the best possible output.
(i'll probably add as an addendum to this post in the near future if there's interest)
---
Signal Path Overview (mostly FYI)
---
if that all seems reasonable to you (music is of course a subjective experience!)- unless you have a high-end after market stereo, chances are your audio output at this point will sound terrific with a simple aux cable. People mistakenly believe their iPods/mobile devices have inferior DACs and that full digital pass through produces the highest quality. What these devices are lacking isn't conversion quality, it's amplification. Any audio buff, or avid listener for that matter, knows that source degradation occurs when software amplification / coloration is introduced PRIOR to gain stage(actually, at any point in the chain if you're an elitist ). it is for this reason that adjusting EQ on your car stereo will typically sound better than doing so on your phone. our aim is to output from the phone's aux jack the *cleanest source material possible*, even if the signal seems "quiet".
not surprisingly a well preserved MP3 at 320kbps can sound indistinguishable if not BETTER than a FLAC at ~800kbps played through Poweramp with bass knob turned up and various stock EQ settings on top of Beats Audio, 3D sound stage, DSP, etc etc. keep in mind that many of those audio effects are designed for earbud use. they attempt to compensate for weak headphone playback by augmenting the strongest frequencies (like bass and high-end treble) and adding virtual "space" to the sound with reverb. this is why beats earphones, when coupled with beats audio software, sound A LOT A HELL louder and "crisper" than average headphones.. the headphones and the software component are doing similar things, just on a hw vs. sw level. (not my cup of tea, but it's a brilliant use of simple acoustics to wow consumers, eh?)
---
Mobile Audio Considerations
---
car head-units and discreet amplifiers, on the other hand, don't need as much help... depending on hardware of course. i'll use my own arrangement (though somewhat unique due to Motorola hardware) as an example of how this could play out:
- Lossless source audio is outputted by capable app (in my case, Neutron Player)
- Droid Bionic sits in Motorola Vehicle dock which features a proprietary Y-cable that carries analog audio over USB + charges
- Because of the analog signal going out through USB, the phone bypasses software DSP / volume controls (the assumption being that you are connecting to a stereo with a stronger amp!). this is for all intents and purposes the cleanest signal that Android can output without more components in the chain. the intent is more than just clear, the design of the dock+cable disables the OS from adding DSP or software amplification. this is true of a handful of manufacterer docks.
- 3.5 mm aux cable connects the terminating end of the Y-cable to head-unit Aux in
- Head-unit outputs stereo RCA to a discreet amplifier in trunk
- Amplifier drives component speaker system​
Don't be afraid to turn the knob to say 30 when your CDs play at 20 (just make sure to turn it BACK down! ), but on most stock radios you don't want to crank past 70% of max volume. i like my music loud but more importantly *clear*... but i guess if you've gotten this far in a FLAC thread you're already convinced!
---
Links / Resources
---
CableJive-dockBoss-Smart-Adapter-iPhone
- this is a really nifty hw hack that basically allows any portable music device to hijack iPod docks/connections. it does *not* add digital audio playback, it is simply injecting an analog signal into a pre-existing dock or stereo system.
For Motorola Users: The Y-cable for Droid 3 and up devices (?) is hilariously difficult to obtain if you have already purchased a vehicle mount from Verizon or any non Moto OEM package. For whatever reason, they loathe selling the cable as a seperate item and will likely charge you ~$20 (though best grudging investment of my life). Details:
Bionic Car Mount Y-Cable Discussion (External)
And for the truly adventurous:
[DIY] "Car Dock" Cable - USB audio out + charging - UPDATED! (11-9-11)
---
Potential Future Topics
---
Basic Android Optimizations for Audio Quality
Network / Connectivity Tweaks for Streaming
(True!) Digital Audio Output : External USB Components Overview
Desktop / Mobile Software Recommendations / Reviews
FAQ?
this started as a harmless reply to OP but, we can't help ourselves sometimes, heh. if there's interest feel free to suggest something, I'm no expert but im sure i'll have 2 cents at the least! i'd love to see a serious A/V resource eventually come together for Android as devices are rapidly evolving and opening new possibilities.
---------- Post added at 10:06 AM ---------- Previous post was at 09:47 AM ----------
polobunny said:
epic thread dig
Click to expand...
Click to collapse
it was meant to be my friend.:good:
JVC released few NAV units with flac support finally
so no need for this anymore.
and thanks again for letting me know that i can convert flac to MP3 lol for the 10000000000000th time

Lg g2 audio hardware&soft

Dear friends. After one month of research and trying to get everything from my d802 in the field of audio, I need some advise from someone who knows something about Android development.
At the beginning I want you to know what i want to get from my device - I want to get ultimate support for 24/192(which is supported by hardware) without resampling to 48 khz which is provided by Android as I know before. The reason I confused about it is that developer of neutron player said that the neutron can't use audio hardware because it doesn't have system rights so only system music player can use audio hardware. So I decided to use CyanogenMod and extreme beats audio mod. Of course with neutron player (settings maximally turned off) and this time I decided to use my player ++, cause it use ultimate quality resampler that called Sox. And it has a hardware decoding tick. I liked more sound from my player(Msr 7 headphones), with ultimate quality of resampling set in settings and with equalizer turned off. The same settings are on neutron. So I need your advise - how can I check when the player give me the quality because of it's software resampler and when it gives me quality because of my hardware. I know that in case of g2 hardware said too loud because it use wolfsoon wm5110 but I can a lot. I want to get everything it can.
Please tell me the ultimate decision in my case.
I wanted to publish it in android dev, but I'm new here.​
LG G2 does not use Wolfsoon DAC but it use Qualcomm WCD9320
http://www.whathifi.com/news/lg-confirms-details-hi-res-audio-playback-g2-phone
http://forum.xda-developers.com/showthread.php?t=2608728
As you said Google resampòe to 48 khz so there is no way, sound 24 khz will be resampled. Even PowerAmp last beta (that uspport Hi-Res audio output) can do more to change this behaviour
http://forum.powerampapp.com/index.php?/forum/18-poweramp-v3-testing/
Romagnolo1973 said:
LG G2 does not use Wolfsoon DAC but it use Qualcomm WCD9320
http://www.whathifi.com/news/lg-confirms-details-hi-res-audio-playback-g2-phone
http://forum.xda-developers.com/showthread.php?t=2608728
As you said Google resampòe to 48 khz so there is no way, sound 24 khz will be resampled. Even PowerAmp last beta (that uspport Hi-Res audio output) can do more to change this behaviour
http://forum.powerampapp.com/index.php?/forum/18-poweramp-v3-testing/
Click to expand...
Click to collapse
It's a wrong way of thinking.
PowerAmp isn't the best decision for hi-fi sound.
There is a way to breakdown downsampling.
And i think, that ainur audio mod has already done it. But i'm not sure.
Anyway, downsampling isn't a problem today.
Just need to find some software decision to breakdown this wall. And i think, that aforemantioned mod made cyan 13 to use hardware of my g2.

bluetooth dac?

I just plugged in a cheap pair of headphones and wow, the sound is amazing using the hifi dac. I don't know much about it but I have a much better pair of Sony bluetooth headphones, is there any work around to use the hifi with bluetooth?
I don't believe so. I could be wrong but I very much doubt it.
Sent from my LG-LS997 using Tapatalk
This is a post from reddit user /u/codefyre explaining why the DAC can't be used over bluetooth (this was related to the v10, but applies to the v20 as well):
Not possible. Nutshell explanation:
All audio, the audio you hear with your actual ear, is analog. Sound is an analog vibration through the air.
The audio recordings in your phone are digital. MP3, MP4, whatever. Unless you're listening to an old record or cassette recording, you're playback source is digital.
The DAC is a Digital Analog Converter. A high quality DAC converts high quality digital audio into high quality analog audio. A higher quality DAC generates a better reconstruction of the original analog signal. Because wired headphones are analog, they simply transform the analog electrical signal into analog speaker vibrations.
If you think about this for a moment, you should understand why it can't be used with Bluetooth. BT is a digital protocol, so the connection between your phone and your Bluetooth receiver is digital. Bluetooth receivers typically perform an on-chip conversion of the digital signal to an analog output during playback. Some high quality BT speakers have onboard 24 bit and 32 bit DAC's to improve the fidelity of their audio output.
So, if the V10 allowed the DAC to be used with Bluetooth, your signal would be Digital Source - > Analog 32 bit HiFi DAC -> Digital Bluetooth -> Analog Output. Because your audio quality is limited by the lowest fidelity step in the reproduction chain, your final output quality is never going to exceed the fidelity of the conversion in your Bluetooth device. And because the analog -> digital conversion actually lowers audio quality, the highest quality Bluetooth playback can be achieved by keeping the signal digital until it reaches the output device. Running the signal through the HiFi DAC would actually result in lower quality Bluetooth audio.
If you want to match the quality of the HiFi DAC using Bluetooth, you'll need to buy a Bluetooth receiver with a high quality onboard DAC of its own.
Click to expand...
Click to collapse
Couldn't have got a better answer, thank you.

Bluetooth codec/bitrates logging?

My android device (currently Note 5) has both aptx and SBC codecs for bluetooth. SBC has varying bitrates (High quality, medium quality, etc).
Obviously, the android system needs to handshake with the bluetooth sink to find a mutually compatible codec.
How can I log the actual codec and bitrate used by my (rooted, 6.0.1)) android phone when it is sending bluetooth audio?

What's better to use, aptX HD, aptX or SBC for Bluetooth?

The OnePlus 5 has those 3 options but I do not know the difference between them or which is best to use. Any help would be appreciated. Thank you!
+1
Both the phone and Bluetooth device have to support AptX for it to work, so often your issue resolved by that.
AptX will provide better sound than SBC. SBC is the default codec used by the A2DP Bluetooth profile.
So, in short, if your headphones/speakers have AptX, use that. If they don't, SBC.
What happens if you choose aptX if your device doesn't support it?
yubimusubi said:
What happens if you choose aptX if your device doesn't support it?
Click to expand...
Click to collapse
It will probably just switch to SBC so the connection will work, as that's the baseline standard in Bluetooth. I couldn't say with absolute certainty, as my OP5 hasn't arrived yet.
AptX is a proprietary thing - someone other than the Bluetooth consortium developed it and licenses it. That's why not everything has it - you have to pay to use it in the products you make. They created AptX because the default Bluetooth audio profile pretty much sucks when you start to examine how it butchers bit depth and sample rates just to cram audio data across a low power wireless signal.
On the flip side of that coin - yeah, AptX is better (and I'd use it if both devices supported it) but the audio quality differences are probably not going to readily apparent when listening to $20 to $50 Bluetooth devices. It's been my experience that it takes a somewhat trained ear and better-than-good equipment to be able to easily spot the difference. So, if you're an audiophile, you probably already know to stay away from Bluetooth for the best quality sound. If you're not an audiophile, try to use the best Bluetooth profile you can, but don't sweat it too much.
The A2DP profile is negociated at pairing and the best supported by both devices is picked (SBC < AptX < AptX HD). Problem is that the codec is just one link in the whole daisy chain. Other equally important aspects:
- music source quality (don't expect 128 kbps CBR mp3 to sound good)
- DAC and amplifier (each and every sound system that converts bits to sound has these!)
- speakers (from those in IEM's to those in BT boom boxes - they are all speakers)
So just that you're using AptX doesn't imply you are listening to high quality sound and probably implementing AptX and putting its logo on the product is the cheapest and least development intensive way to raise the price of a product.
Just my two (euro) cents...
Hi,
The question here is how the phone behaves when a higher quality codec has been selected (eg aptX) and a standard bluetooth headset (SBC - only )has been connected?
So far it seems to work (but then the question is why there is a selection available)
Best Regards
Joerg
My wild guess is that tis setting acts like a low-pass filter threshold. The phone will negotiate the highest available option without going above setting.
If the setting is AptX, the phone and speaker support AptX HD, the connection will be made at AptX quality. If the speaker only supports SBC, the connection will be made with SBC.
Honestly I don't see the point in such a setting. 99% of the people would want the best quality available anyway.
Is there a power consumption difference?
Sent from my ONEPLUS A5000 using Tapatalk
daniel_loft said:
My wild guess is that tis setting acts like a low-pass filter threshold. The phone will negotiate the highest available option without going above setting.
If the setting is AptX, the phone and speaker support AptX HD, the connection will be made at AptX quality. If the speaker only supports SBC, the connection will be made with SBC.
Honestly I don't see the point in such a setting. 99% of the people would want the best quality available anyway.
Click to expand...
Click to collapse
It makes sense to have the setting *if* for some reason you want to force SBC or the non-HD aptX. I have it set to aptX HD right now and it seems to work with my car (I'm about 95% sure it doesn't support aptX).
The real question is, if it fails back appropriately, why on Earth would OnePlus set the *default* to SBC?
@aa_chow: There surely is a consumption difference. SBC was designed decades ago with low computational complexity in mind (among others). On the current smartphone hardware (which is probably on par with a medium desktop from 5-6 years ago) the difference would be so small that measurements are impossible (you might see a difference on the battery life of the speakers, but I wouldn't loose my time there) .
@yubimusubi: I cannot even find the reason why that setting is even there! It only limits the best usable codec, which makes no sense to me. Maybe you can find more answers on the oneplus forums.
lag
with the sb, i experience music lag from when i have played in 1 minute and it continues, is it low power consumption or something on sbc? I'm gonna try the apex option when i get home to check if its better.
I'm suffering micro breaks on HD audio (320 bitrate MP3) from aptX HD, aptX or SBC.
Is there a way to correct it?
All my files are stored at 320 and I doesn't have time to convert to a bitrate of 128
Edit: No issues with iPhone 7+ and Huawei P10 using the same BT headset and MP3 files
bartito said:
I'm suffering micro breaks on HD audio (320 bitrate MP3) from aptX HD, aptX or SBC.
Is there a way to correct it?
All my files are stored at 320 and I doesn't have time to convert to a bitrate of 128
Edit: No issues with iPhone 7+ and Huawei P10 using the same BT headset and MP3 files
Click to expand...
Click to collapse
I have an issue on my International LG G6 where it sounds like the 24 bit lossless tracks are essentially dropping frames to borrow a gaming term. Then it will correct itself. It happened on my VW and the problem persists in my wife's new Subaru.
The LG G6 sports Aptx HD. Any ideas?
i prefer aptX but then again ive been using it quite a while now
APTX-HD do not work on One Plus 5. The music hacks constant.

Categories

Resources