This caused player to be unable to calculate what demux packet timestamp
belong to what decoded audio frame. It only caused an issue when passthrough
audio frames where split over multiple packets.
enum DataType GetDataType () { return m_dataType ; }
bool IsLittleEndian () { return m_dataIsLE ; }
CAEPackIEC61937::PackFunc GetPackFunc () { return m_packFunc ; }
+ unsigned int GetBufferSize () { return m_bufferSize ; }
private:
DllAvUtil m_dllAvUtil;
{
}
+int CDVDAudioCodecPassthrough::GetBufferSize()
+{
+ return (int)m_info.GetBufferSize();
+}
virtual enum AEDataFormat GetDataFormat();
virtual bool NeedPassthrough () { return true; }
virtual const char* GetName () { return "passthrough"; }
+ virtual int GetBufferSize();
private:
CAEStreamInfo m_info;
CAEBitstreamPacker m_packer;