From: Govind Jeyaram Date: Tue, 13 Dec 2016 17:44:05 +0000 (-0800) Subject: PASDK-53: Input Data Integrity investigation. X-Git-Url: https://git.ti.com/gitweb?p=processor-sdk%2Fperformance-audio-sr.git;a=commitdiff_plain;h=40050417c5f375f51a88ce3ee6d619c5a2dfd28b PASDK-53: Input Data Integrity investigation. * 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. --- diff --git a/pasdk/test_dsp/sap/audio_dc_cfg.c b/pasdk/test_dsp/sap/audio_dc_cfg.c index 52369f41..148f31fc 100644 --- a/pasdk/test_dsp/sap/audio_dc_cfg.c +++ b/pasdk/test_dsp/sap/audio_dc_cfg.c @@ -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); diff --git a/pasdk/test_dsp/sap/sap_d10.c b/pasdk/test_dsp/sap/sap_d10.c index 395c4ae1..56284129 100644 --- a/pasdk/test_dsp/sap/sap_d10.c +++ b/pasdk/test_dsp/sap/sap_d10.c @@ -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