Show
Ignore:
Timestamp:
01/07/10 15:35:17 (3 years ago)
Author:
robert
Message:

Added virtual pause() method into osg::AudioSink? to support pausing of a movie thread and it's associated audio.

Updated osgmovie plugin to use the pause support.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgWrappers/osg/AudioStream.cpp

    r9918 r10925  
    2929                       "", 
    3030                       ""); 
    31         I_Method0(void, startPlaying, 
     31        I_Method0(const char *, libraryName, 
     32                  Properties::VIRTUAL, 
     33                  __C5_char_P1__libraryName, 
     34                  "return the name of the object's library. ", 
     35                  "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); 
     36        I_Method0(const char *, className, 
     37                  Properties::VIRTUAL, 
     38                  __C5_char_P1__className, 
     39                  "return the name of the object's class type. ", 
     40                  "Must be defined by derived classes. "); 
     41        I_Method0(void, play, 
    3242                  Properties::PURE_VIRTUAL, 
    33                   __void__startPlaying, 
     43                  __void__play, 
     44                  "", 
     45                  ""); 
     46        I_Method0(void, pause, 
     47                  Properties::PURE_VIRTUAL, 
     48                  __void__pause, 
     49                  "", 
     50                  ""); 
     51        I_Method0(void, stop, 
     52                  Properties::PURE_VIRTUAL, 
     53                  __void__stop, 
    3454                  "", 
    3555                  ""); 
     
    4969                  "", 
    5070                  ""); 
    51         I_Method0(const char *, libraryName, 
    52                   Properties::VIRTUAL, 
    53                   __C5_char_P1__libraryName, 
    54                   "return the name of the object's library. ", 
    55                   "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); 
    56         I_Method0(const char *, className, 
    57                   Properties::VIRTUAL, 
    58                   __C5_char_P1__className, 
    59                   "return the name of the object's class type. ", 
    60                   "Must be defined by derived classes. "); 
    6171        I_SimpleProperty(double, Delay,  
    6272                         __double__getDelay,