X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2FPCM_Parser.cpp;h=f0caef270fc6c58be48e4af6746a47834b0bd041;hb=71e5dbde64e9186cfd5de462553485612218d6fc;hp=331bebfc86b25bdf539811fce4f5eb1e68302465;hpb=dde89765744dad9a6b9d13126092d9bfc2dbc0d7;p=asdcplib.git diff --git a/src/PCM_Parser.cpp b/src/PCM_Parser.cpp index 331bebf..f0caef2 100755 --- a/src/PCM_Parser.cpp +++ b/src/PCM_Parser.cpp @@ -1,5 +1,5 @@ /* -Copyright (c) 2004, John Hurst +Copyright (c) 2004-2006, John Hurst All rights reserved. Redistribution and use in source and binary forms, with or without @@ -31,6 +31,8 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include #include +#include +using Kumu::DefaultLogSink; using namespace ASDCP; using namespace ASDCP::PCM; @@ -42,7 +44,7 @@ using namespace ASDCP::Wav; // class ASDCP::PCM::WAVParser::h__WAVParser { - FileReader m_FileReader; + Kumu::FileReader m_FileReader; bool m_EOF; ui32_t m_DataStart; ui32_t m_DataLength; @@ -142,7 +144,7 @@ ASDCP::PCM::WAVParser::h__WAVParser::ReadFrame(FrameBuffer& FB) if ( FB.Capacity() < m_FrameBufferSize ) { - DefaultLogSink().Error("FrameBuf.Capacity: %lu FrameLength: %lu\n", + DefaultLogSink().Error("FrameBuf.Capacity: %u FrameLength: %u\n", FB.Capacity(), m_FrameBufferSize); return RESULT_SMALLBUF; }