v16 Android pass-through test thread. EXPERIMENTAL!!!
(2015-12-27, 23:24)Xedos9er Wrote: Here´s the logfile with first build from 26 Dez on FTV 2:
http://xbmclogs.com/pvk6le3qs

First i played a lossless DTS (dts_animated_logo_lossless-DWEU.mkv) with passtrough off, outputs as PCM, but channels wrong.
Second time i played same file with passtrough on -> white noise. Maybe this log helps.

Another log with standard DTS 5.1 (21 jump street) and passthrough on:
http://xbmclogs.com/ps8rr9skg

The behavior on DTS files is always same, no matter if its lossless or HD or something else. Just white noise with passtrough on, and pcm with wrong channels if pass is off

what i noticed in the log is the following:
Code:
22:17:59 T:18446744072288555976   DEBUG: CAESinkAUDIOTRACK::Initialize requested: sampleRate 48000; format: AE_FMT_DTS; channels: 2
22:17:59 T:18446744072320580432   DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 0
22:17:59 T:18446744072288348144   DEBUG: CGUIInfoManager::SetCurrentMovie(nfs://192.168.1.2/volume1/Movies/HD Sound/dts_animated_logo_lossless-DWEU.mkv)
22:17:59 T:18446744072288555976   DEBUG: CAESinkAUDIOTRACK::Initialize returned: m_sampleRate 48000; format:AE_FMT_S16LE; min_buffer_size 16384; m_frames 2048; m_frameSize 4; channels: 2; m_audiotrackbuffer_sec(0.085333)

As you can see, the initialize request is AE_FMT_DTS, that´s ok, but initialize returns as AE_FMT_S16LE. That can´t work right. On DD Audio Files the request and return is the same, and plays fine.
Strange thing is, that AE_FMT_DTS is listed under the supportet formats in the AUDIOTRACK Device. So what´s going on here?!?!


EDIT:
Done some reading aboud channel mapping. So the issue with wrong channel mapping is on Android OS site. It needs to be fixed by AMAZON. There are a few threads how to remap channels in linux, but nothing about android.
I´ve done some more research and found out, that the key is somewhere in the ASOUND directory.
Thanks to root, i was able to download the ASOUND directory from my FTV 2. Maybe there is a freak out there, who can do some coding on the files to remap the channels correctly.
Here it is:
http://www.file-upload.net/download-1115...d.rar.html


I think the DTS passthrough can be fixed in kodi. hope my log helps here.

Thanks for your help in trying all the builds. I've been gone for the holiday and have just caught up on the thread. Hopefully these awesome devs can fix, otherwise I may have to get an nvidia shield haha.


Messages In This Thread
RE: Android pass-through test thread. EXPERIMENTAL!!! - by chillstatus - 2015-12-28, 18:06
Logout Mark Read Team Forum Stats Members Help
Android pass-through test thread. EXPERIMENTAL!!!11