From ed84256d7687b8255991308361e26013b7071dd9 Mon Sep 17 00:00:00 2001 From: mschroffel Date: Thu, 17 Mar 2016 23:58:13 +0000 Subject: included CMakelists.txt into dist --- src/PCMParserList.cpp | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'src/PCMParserList.cpp') diff --git a/src/PCMParserList.cpp b/src/PCMParserList.cpp index 0ae22cc..c073e3f 100755 --- a/src/PCMParserList.cpp +++ b/src/PCMParserList.cpp @@ -1,5 +1,5 @@ /* -Copyright (c) 2004-2015, John Hurst +Copyright (c) 2004-2016, John Hurst All rights reserved. Redistribution and use in source and binary forms, with or without @@ -300,6 +300,20 @@ ASDCP::PCMParserList::ReadFrame(PCM::FrameBuffer& OutFB) return result; } +// +ASDCP::Result_t ASDCP::PCMParserList::Seek(ui32_t frame_number) +{ + Result_t result = RESULT_OK; + PCMParserList::iterator self_i; + + for( self_i = begin(); self_i != end() && ASDCP_SUCCESS(result); self_i++ ) + { + result = (*self_i)->Parser.Seek(frame_number); + } + + return result; +} + // // end PCMParserList.cpp // -- cgit v1.2.3