included CMakelists.txt into dist
[asdcplib.git] / src / PCMParserList.cpp
index 0ae22cc53bb31143358027b3d485734122fa0baf..c073e3f54955a9e366b41053247ce8f4251cae22 100755 (executable)
@@ -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
 //