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
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;
}
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.
North America
Europe, Middle East and Africa
Asia Pacific