Req ac3 and dts passthrough in xbmc for Rockchip TV Boxes (HDMI and Spdif)
#1
This will enable ac3 and dts passthrough in xbmc on Rockchip TV Boxes like Minix Neo X5.
Maybe an extra setting in xbmc which Rockchip users can select?
http://minixforums.com/threads/how-to-ge...pdif.2041/

The changes in xbmc would be in the file AESinkAUDIOTRACK.cpp with the following code.
Code:
Code:

jobject joAudioTrack = jenv->NewObject(jcAudioTrack, jmInit,
GetStaticIntField(jenv, "AudioManager", "STREAM_MUSIC");,
m_format.m_sampleRate,
channelConfig,
audioFormat,
min_buffer_size,
GetStaticIntField(jenv, "AudioTrack", "MODE_STREAM"));

Should be replaced with this code.
Code:
Code:

jint streamType;

if(!m_passthrough)
  streamType = GetStaticIntField(jenv, "AudioManager", "STREAM_MUSIC");
else
  streamType = GetStaticIntField(jenv, "AudioManager", "STREAM_VOICE_CALL");

jobject joAudioTrack = jenv->NewObject(jcAudioTrack, jmInit,
streamType,
m_format.m_sampleRate,
channelConfig,
audioFormat,
min_buffer_size,
GetStaticIntField(jenv, "AudioTrack", "MODE_STREAM"));
Reply
#2
thanks
Reply
#3
Is there an easy way to do that? I have no knowledge with droids or programming.
Reply
#4
Gents, before getting exited, note that this also need patching the system libmedia.so.

It has only been on minix hw via manual hacking, AFAIK.
Reply

Logout Mark Read Team Forum Stats Members Help
ac3 and dts passthrough in xbmc for Rockchip TV Boxes (HDMI and Spdif)0