summaryrefslogtreecommitdiff
path: root/src/PCMParserList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PCMParserList.cpp')
-rwxr-xr-xsrc/PCMParserList.cpp16
1 files changed, 15 insertions, 1 deletions
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
@@ -301,5 +301,19 @@ ASDCP::PCMParserList::ReadFrame(PCM::FrameBuffer& OutFB)
}
//
+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
//