11 #ifndef __AU_SoundManager__
12 #define __AU_SoundManager__
33 void setMute(
int onoff);
35 void setMono(
int onoff);
37 void setLeftVolume(
float volume);
38 float getLeftVolume()
const;
39 void setRightVolume(
float volume);
40 float getRightVolume()
const;
54 int isTestActive()
const;
59 int setTestDirection(
int dir);
60 int setTestLoop(
int yesno);
62 int setTestFull(
int yesno);
63 void setTestRange(
float min,
float max);
72 int playFile(
const char *
filename,
float l,
float r);
73 int isPlaying()
const;
83 int loadScrub(
const CL_Clip *clip);
85 int isScrubbing()
const;
88 void setScrubRealTime(
int level);
89 int getScrubRealTime()
const;
90 void setScrubRepeat(
int onoff);
91 int getScrubRepeat()
const;
92 void setScrubSustain(
float sustain);
93 float getScrubSustain()
const;
94 void setScrubOffset(
float offset);
95 float getScrubOffset()
const;
96 void setScrubFrequency(
int frequency);
97 int getScrubFrequency()
const;
98 void setScrubDeltas(
float fore,
float back);
99 void getScrubDeltas(
float &fore,
float &back)
const;
100 void setScrubIndex(
float index);
101 float getScrubIndex()
const;
102 void setScrubSmooth(
int smooth);
103 int getScrubSmooth()
const;
104 void setScrubReverse(
bool is_reverse);
105 bool getScrubReverse()
const;
106 void setScrubOneFrame(
bool is_oneframe);
107 bool getScrubOneFrame()
const;
115 void startRealtime(
int rate,
int channels,
float queue);
117 int isRealtime()
const;
123 void getMaxLevel(
float *l,
float *r)
const;
125 int isAUDeviceOpen()
const;
126 void loseAUInterest()
const;
127 int obtainAUDevice() ;
128 int releaseAUDevice();
134 int sendAudioCommand(
int command);
135 int loadFromClip(
const CL_Clip *clip);
136 void loadSegmentFromClip(
const CL_Clip *clip,
GT_API const UT_StringHolder filename
GLuint GLsizei GLsizei * length
ImageBuf OIIO_API min(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
*get result *(waiting if necessary)*A common idiom is to fire a bunch of sub tasks at the queue
AU_API AU_SoundManager * 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)