]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/performance-audio-sr.git/commitdiff
PASDK-53: Input Data Integrity investigation.
authorGovind Jeyaram <govind.j@ti.com>
Tue, 13 Dec 2016 17:44:05 +0000 (09:44 -0800)
committerFrank Livingston <frank-livingston@ti.com>
Fri, 27 Jan 2017 20:49:11 +0000 (14:49 -0600)
* Fixed the EDID configuration of the HSR41. The Dolby streaming Tool now reports: "EDID of the Audio Device indicates support for Dolby Atmos on EC3
EDID of the Audio Device indicates support for Dolby Atmos on MAT"
* Fixed a weird Interface Clock behavior, which leads to the input frame=48K & output-frame=12KHz(?!!).
Specifically, modified clkxDivHDMI to tackle PAF_SAMPLERATE_UNKNOWN situations just like PAF_SAMPLERATE_48000HZ; including the clock relationships.
These new division factors avoid the output_frame=12KHz situation.

pasdk/test_dsp/sap/audio_dc_cfg.c
pasdk/test_dsp/sap/sap_d10.c

index 52369f4141dff1071ce821c2fe72d7b373d652b2..148f31fceff17d70dc4dd45bd779bf905de8b156 100644 (file)
@@ -416,8 +416,8 @@ void hrptredid()
        set_audio_desc(1,1,8,0x7f,7);   // Multi Ch PCM
        set_audio_desc(2,2,6,0x7,80);   //AC3
        //set_audio_desc(2,0,0,0,0);        //AC3; (GJ) currently not supported
-       set_audio_desc(3,10,8,0x07,0);  // EAC3 //DTS (3,7,6,0x1e,192)
-       set_audio_desc(4,12,8,0x7F,0);  // MLP (THD) //DTS (4,7,8,0x6,192)
+       set_audio_desc(3,10,8,0x07,1);  // EAC3 //DTS (3,7,6,0x1e,192)
+       set_audio_desc(4,12,8,0x7F,1);  // MLP (THD) //DTS (4,7,8,0x6,192)
        //set_audio_desc(4,0,0,0,0);    // MLP (THD) //DTS (4,7,8,0x6,192) ; (GJ) currently not supported
        // Empty descriptors to be programmed to 0s
        set_audio_desc(5,0,0,0,0);      //AAC LC (5,6,6,0x1f,192);
index 395c4ae1b57b971a54dccabc85e793b2e43782ae..56284129b7038e4855c1f6472bb4e0a838f02ef6 100644 (file)
@@ -150,8 +150,8 @@ static const unsigned char clkxDivADC[PAF_SAMPLERATE_N] =
 
 static const unsigned char clkxDivHDMI[PAF_SAMPLERATE_N] =
 {
-    0x8,  //PAF_SAMPLERATE_UNKNOWN
-    0x8,  //PAF_SAMPLERATE_NONE
+    0x2,  //PAF_SAMPLERATE_UNKNOWN
+    0x2,  //PAF_SAMPLERATE_NONE
     0x8,  //PAF_SAMPLERATE_32000HZ
     0x2,  //PAF_SAMPLERATE_44100HZ
     0x2,  //PAF_SAMPLERATE_48000HZ