/* ------------------------------------------------------------------
- * Copyright (C) 1998-2009 PacketVideo
+ * Copyright (C) 1998-2010 PacketVideo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
oscl_memset(&iExt, 0, sizeof(tPVMP4AudioDecoderExternal));
+ aDesiredChannels = 2; // aac decoder outputs 2 channels even in mono case. Keep it that way
iExt.inputBufferCurrentLength = 0;
iExt.remainderBits = 0; // Not needed anymore.
iExt.inputBufferMaxLength = PVMP4AUDIODECODER_INBUFSIZE;
/* ------------------------------------------------------------------
- * Copyright (C) 1998-2009 PacketVideo
+ * Copyright (C) 1998-2010 PacketVideo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
//aac lib init
if (!iCodecReady)
{
+ // note: even if the omx port settings were configured to mono (by the IL client), the decoder will still be
+ // configured to output 2 channels (in case of mono, left & right channels will be the same)
Status = ipAacDec->AacDecInit(ipPorts[OMX_PORT_OUTPUTPORT_INDEX]->AudioPcmMode.nChannels);
iCodecReady = OMX_TRUE;
}
// This header file is automatically generated at build-time
// *** OFFICIAL RELEASE INFO -- Will not auto update
-#define PV2WAY_ENGINE_SDKINFO_LABEL "1245024"
-#define PV2WAY_ENGINE_SDKINFO_DATE 0x20100203
+#define PV2WAY_ENGINE_SDKINFO_LABEL "1246016"
+#define PV2WAY_ENGINE_SDKINFO_DATE 0x20100204
#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 "1245024"
-#define PVAUTHOR_ENGINE_SDKINFO_DATE 0x20100203
+#define PVAUTHOR_ENGINE_SDKINFO_LABEL "1246016"
+#define PVAUTHOR_ENGINE_SDKINFO_DATE 0x20100204
#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 "1245024"
-#define PVPLAYER_ENGINE_SDKINFO_DATE 0x20100203
+#define PVPLAYER_ENGINE_SDKINFO_LABEL "1246016"
+#define PVPLAYER_ENGINE_SDKINFO_DATE 0x20100204
#endif //PV_PLAYER_SDKINFO_H_INCLUDED