Files
core/ASCOfficePPTFile/PPTFormatLib/Records/ExWAVAudioEmbeddedContainer.h
Elen.Subbotina 7d511bb5c6 PPTFormat
удален лишний код, фиксы ошибок

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@65494 954022d7-b5bf-4e40-9824-e11837661b57
2016-05-21 00:40:07 +03:00

38 lines
725 B
C++

#pragma once
#include "ExMediaAtom.h"
class CRecordWAVAudioEmbeddedContainer : public CRecordsContainer
{
public:
CRecordExMediaAtom m_oMedia;
DWORD m_nSoundID;
LONG m_nDuration;
public:
CRecordWAVAudioEmbeddedContainer()
{
m_nSoundID = 0;
m_nDuration = 0;
}
~CRecordWAVAudioEmbeddedContainer()
{
}
virtual void ReadFromStream(SRecordHeader & oHeader, POLE::Stream* pStream)
{
m_oHeader = oHeader;
SRecordHeader oExHeader;
oExHeader.ReadFromStream(pStream);
m_oMedia.ReadFromStream(oExHeader, pStream);
StreamUtils::StreamSkip(8, pStream);
m_nSoundID = StreamUtils::ReadDWORD(pStream);
m_nDuration = StreamUtils::ReadLONG(pStream);
}
};