int32* aConfigHeaderSize,
uint8* SamplingRateIndex,
uint32* NumChannels,
- uint32* aSamplesPerFrame);
+ uint32* aSamplesPerFrame,
+ bool mime_3016);
#endif
int32* aConfigHeaderSize,
uint8* SamplingRateIndex,
uint32* NumChannels,
- uint32* aSamplesPerFrame)
+ uint32* aSamplesPerFrame,
+ bool mime_3016)
{
tPVMP4AudioDecoderExternal * iAACDecExt = NULL;
*/
pVars->aacConfigUtilityEnabled = true; /* set aac utility mode */
+ if (mime_3016 == true) /* streaming rfc-3016 type, config holds streamMuxConfig */
+ {
+ pVars->inputStream.usedBits += 15; /* jump over streamMuxConfig bits */
+ }
+
status = get_audio_specific_config(pVars);
}
&bytes_consumed,
&SamplingRateIndex,
&NumChannels,
- &SamplesPerFrame);
+ &SamplesPerFrame,
+ (aInputs->iMimeType == PVMF_MIME_AAC_SIZEHDR));
if (status != 0)//error
{
bBitStreamValid = false;
// This header file is automatically generated at build-time
// *** OFFICIAL RELEASE INFO -- Will not auto update
-#define PV2WAY_ENGINE_SDKINFO_LABEL "1086733"
-#define PV2WAY_ENGINE_SDKINFO_DATE 0x20091115
+#define PV2WAY_ENGINE_SDKINFO_LABEL "1088390"
+#define PV2WAY_ENGINE_SDKINFO_DATE 0x20091116
#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 "1086733"
-#define PVAUTHOR_ENGINE_SDKINFO_DATE 0x20091115
+#define PVAUTHOR_ENGINE_SDKINFO_LABEL "1088390"
+#define PVAUTHOR_ENGINE_SDKINFO_DATE 0x20091116
#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 "1086733"
-#define PVPLAYER_ENGINE_SDKINFO_DATE 0x20091115
+#define PVPLAYER_ENGINE_SDKINFO_LABEL "1088390"
+#define PVPLAYER_ENGINE_SDKINFO_DATE 0x20091116
#endif //PV_PLAYER_SDKINFO_H_INCLUDED
uint32 samplesPerFrame;
int32 status = GetActualAacConfig(pBuffer,
- &iAudioObjectType, &config_header_size, &sampleFreqIndex, &iChannelConfig, &samplesPerFrame);
+ &iAudioObjectType,
+ &config_header_size,
+ &sampleFreqIndex,
+ &iChannelConfig,
+ &samplesPerFrame,
+ false);
+
if (status != SUCCESS) return AACBitstreamObject::MISC_ERROR;
// Retrieve the audio object type
&specinfosize,
&sampleRateIndex,
&num_channels,
- &samplesPerFrame);
+ &samplesPerFrame,
+ false);
}
}
&specinfosize,
&sampleRateIndex,
&num_channels,
- &samplesPerFrame);
+ &samplesPerFrame,
+ false);
+
if (sampleRateIndex < 13)
{
sample_rate = sample_freq_table[(uint32)sampleRateIndex];