Skip navigation
Currently Being Moderated

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

Jan 24, 2012 12:45 PM

Tags: #ame #maxblip #exporter_api #sdk_sample_project

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;

}

 



 
Replies
  • Currently Being Moderated
    Jan 24, 2012 5:55 PM   in reply to Rallymax-forum

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

     

    Thanks,

     

    Zac

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points