aboutsummaryrefslogtreecommitdiff
path: root/src/myriad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/myriad.cpp')
-rw-r--r--src/myriad.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/myriad.cpp b/src/myriad.cpp
index 8650a1c..c3eb97e 100644
--- a/src/myriad.cpp
+++ b/src/myriad.cpp
@@ -472,6 +472,18 @@ int Bu::Myriad::getStreamSize( int iId )
472 return findStream( iId )->iSize; 472 return findStream( iId )->iSize;
473} 473}
474 474
475bool Bu::Myriad::hasStream( int iId )
476{
477 try
478 {
479 findStream( iId );
480 return true;
481 }catch(...)
482 {
483 return false;
484 }
485}
486
475Bu::MyriadStream Bu::Myriad::openStream( int iId ) 487Bu::MyriadStream Bu::Myriad::openStream( int iId )
476{ 488{
477 //sio << "Myriad: Request to open stream: " << iId << sio.nl; 489 //sio << "Myriad: Request to open stream: " << iId << sio.nl;