// This header file is automatically generated at build-time
// *** OFFICIAL RELEASE INFO -- Will not auto update
-#define PV2WAY_ENGINE_SDKINFO_LABEL "1038824"
+#define PV2WAY_ENGINE_SDKINFO_LABEL "1039074"
#define PV2WAY_ENGINE_SDKINFO_DATE 0x20091023
#endif //PV_2WAY_SDKINFO_H_INCLUDED
// This header file is automatically generated at build-time
// *** OFFICIAL RELEASE INFO -- Will not auto update
-#define PVAUTHOR_ENGINE_SDKINFO_LABEL "1038824"
+#define PVAUTHOR_ENGINE_SDKINFO_LABEL "1039074"
#define PVAUTHOR_ENGINE_SDKINFO_DATE 0x20091023
#endif //PV_AUTHOR_SDKINFO_H_INCLUDED
// This header file is automatically generated at build-time
// *** OFFICIAL RELEASE INFO -- Will not auto update
-#define PVPLAYER_ENGINE_SDKINFO_LABEL "1038824"
+#define PVPLAYER_ENGINE_SDKINFO_LABEL "1039074"
#define PVPLAYER_ENGINE_SDKINFO_DATE 0x20091023
#endif //PV_PLAYER_SDKINFO_H_INCLUDED
aClipDuration = iClipDurationComputed;
return;
}
+ uint32 samplesPerFrame = spfIndexTable[iMP3HeaderInfo.frameVer][iMP3HeaderInfo.layerID];
+ uint32 samplingRate = srIndexTable[((iMP3HeaderInfo.frameVer)*4) + iMP3HeaderInfo.srIndex];
+ OsclFloat samplingRateinKHz = (OsclFloat)samplingRate / 1000;
- // Just assign the iScanTimestamp to the ClipDuration. iScanTimestamp is made up after adding all
- // frameDurations of the frames which are scanned as a part of DurationCalculator AO.
- iClipDurationComputed = iScanTimestamp;
+ iClipDurationComputed = (uint32)(iScannedFrameCount * (OsclFloat)(samplesPerFrame / samplingRateinKHz));
aClipDuration = iClipDurationComputed;
}
+
void MP3Parser::FillTOCTable(uint32 aFilePos, uint32 aTimeStampToFrame)
{
if (iDurationScanComplete)