Skip to main content
Inspiring
January 24, 2012
Answered

(audio) maxBlip returned as zero!!!!!

  • January 24, 2012
  • 1 reply
  • 1107 views

Hi,

I'm using the Exporter Sample and in the audio code SDKFile.cpp "prMALError RenderAndWriteAllAudio(exDoExportRec *exportInfoP) " there is a line that gets maxBlip.

It's coming back as ZERO when I feed AME with an avi file with 5.1 AC3. Ahhhhh.... why?

// The lesser of the value returned from GetMaxBlip and number of samples remaining

lRec->sequenceAudioSuite->GetMaxBlip (audioRenderID, lRec->frameRateTicks, &maxBlip);

if (maxBlip == 0)      <<<<<<<<<<<<<<< I added this check

{                           <<<<<<<<<<<<<<< I added this check   

// Serious Problem.<<<<<<<<<<<<<<< I added this check

return malUnknownError; <<<<<<<<<<<<<<< I added this check

} <<<<<<<<<<<<<<< I added this check

if (maxBlip < samplesRemaining)

{

else

{

samplesRequestedL = maxBlip;

}

samplesRequestedL = (csSDK_int32) samplesRemaining;

}



This topic has been closed for replies.
Correct answer Rallymax-forum

Ah. I think I found it…AME has a decode problem.

The source file is AC3 5.1 and plays just fine in Windows Media Player.

Here is AME’s (CS5.5) source data-mining and the “Stereo” mistake…

I guess I need to find another 5.1 test file to do my testing.

Zac, etc I can email you the 2.2Mb file if you want.

1 reply

Rallymax-forumAuthorCorrect answer
Inspiring
January 24, 2012

Ah. I think I found it…AME has a decode problem.

The source file is AC3 5.1 and plays just fine in Windows Media Player.

Here is AME’s (CS5.5) source data-mining and the “Stereo” mistake…

I guess I need to find another 5.1 test file to do my testing.

Zac, etc I can email you the 2.2Mb file if you want.

Inspiring
January 25, 2012

Sure, we'll take a look if you can send the file over.

Thanks,

Zac