diff options
Diffstat (limited to 'src/myriadstream.cpp')
-rw-r--r-- | src/myriadstream.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/myriadstream.cpp b/src/myriadstream.cpp index 2218ae4..41c5b53 100644 --- a/src/myriadstream.cpp +++ b/src/myriadstream.cpp | |||
@@ -281,3 +281,10 @@ void Bu::MyriadStream::setBlocking( bool /*bBlocking*/ ) | |||
281 | { | 281 | { |
282 | } | 282 | } |
283 | 283 | ||
284 | void Bu::MyriadStream::setSize( long iSize ) | ||
285 | { | ||
286 | rMyriad.setStreamSize( pStream, iSize ); | ||
287 | if( iPos > iSize ) | ||
288 | iPos = iSize; | ||
289 | } | ||
290 | |||