11 #ifndef __AU_SoundManager__ 
   12 #define __AU_SoundManager__ 
   23 enum au_SoundCommand : 
int;
 
   41     void                  setMute(
int onoff);
 
   43     void                  setMono(
int onoff);
 
   45     void                  setLeftVolume(
float volume);
 
   46     float                 getLeftVolume() 
const;
 
   47     void                  setRightVolume(
float volume);
 
   48     float                 getRightVolume() 
const;
 
   62     int                   isTestActive() 
const;
 
   67     int                   setTestDirection(
int dir);    
 
   68     int                   setTestLoop(
int yesno);
 
   70     int                   setTestFull(
int yesno);       
 
   71     void                  setTestRange(
float min, 
float max);
 
   80     int                   playFile(
const char *
filename, 
float l, 
float r);
 
   81     int                   isPlaying() 
const;
 
   91     int                   loadScrub(
const CL_Clip *clip);
 
   93     int                   isScrubbing() 
const;
 
   96     void                  setScrubRealTime(
int level);
 
   97     int                   getScrubRealTime() 
const;
 
   98     void                  setScrubRepeat(
int onoff);
 
   99     int                   getScrubRepeat() 
const;
 
  100     void                  setScrubSustain(
float sustain);
 
  101     float                 getScrubSustain() 
const;
 
  102     void                  setScrubOffset(
float offset);
 
  103     float                 getScrubOffset() 
const;
 
  104     void                  setScrubLength(
float length);
 
  105     float                 getScrubLength() 
const;
 
  106     void                  setScrubDeltas(
float fore, 
float back);
 
  107     void                  getScrubDeltas(
float &fore, 
float &back) 
const;
 
  108     void                  setScrubIndex(
float index);
 
  109     float                 getScrubIndex() 
const;
 
  110     void                  setScrubSmooth(
int smooth);
 
  111     int                   getScrubSmooth() 
const;
 
  112     void                  setScrubReverse(
bool is_reverse);
 
  113     bool                  getScrubReverse() 
const;
 
  114     void                  setScrubOneFrame(
bool is_oneframe);
 
  115     bool                  getScrubOneFrame() 
const;
 
  123     void                  startRealtime(
int rate, 
int channels,
float queue);
 
  125     int                   isRealtime() 
const;
 
  131     void                  getMaxLevel(
float *l, 
float *r) 
const; 
 
  133     int                   isAUDeviceOpen()  
const;
 
  134     void                  loseAUInterest() 
const;
 
  135     int                   obtainAUDevice() ;      
 
  136     int                   releaseAUDevice();      
 
  145     void                  resetDataBuffers();
 
  147     static void          *audioProcess(
void *);
 
  148     void                  initializeAudioProcess();
 
  150     int                   sendAudioCommand(au_SoundCommand command);
 
  151     int                   loadFromClip(
const CL_Clip *clip);
 
  152     void                  loadSegmentFromClip(
const CL_Clip *clip, 
 
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
 
GT_API const UT_StringHolder filename
 
UT_SharedPtr< AU_SoundManager > AU_SoundManagerPtr
 
GLuint GLsizei GLsizei * length
 
ImageBuf OIIO_API min(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
 
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects. 
 
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr. 
 
*get result *(waiting if necessary)*A common idiom is to fire a bunch of sub tasks at the queue
 
AU_API AU_SoundManagerPtr AUgetSoundManager()
 
virtual bool smooth(GA_AttributeOperand &d, GA_AttributeOperand &min, GA_AttributeOperand &max, GA_AttributeOperand &t) const 
d = SYSsmooth(min, max, t); 
 
LeafData & operator=(const LeafData &)=delete
 
ImageBuf OIIO_API max(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
 
IMATH_INTERNAL_NAMESPACE_HEADER_ENTER IMATH_HOSTDEVICE IMATH_CONSTEXPR14 T clip(const T &p, const Box< T > &box) IMATH_NOEXCEPT
 
ImageBuf OIIO_API channels(const ImageBuf &src, int nchannels, cspan< int > channelorder, cspan< float > channelvalues={}, cspan< std::string > newchannelnames={}, bool shuffle_channel_names=false, int nthreads=0)