HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_audio.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * COMMENTS:
7  */
8 
9 #ifndef __HOM_audio_h__
10 #define __HOM_audio_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_EnumValue.h"
15 #include "HOM_EnumModules.h"
16 #include "HOM_Errors.h"
17 
18 SWIGOUT(%rename(audio) HOM_audio;)
20 {
21 public:
22  virtual ~HOM_audio()
23  {}
24 
25  virtual std::string __repr__() = 0;
26 
27  // switching the audio panel mode
28  virtual void turnOffAudio() = 0;
29  virtual void useTimeLineMode() = 0;
30  virtual void useTimeSliceMode() = 0;
31  virtual void useTestMode() = 0;
32 
33  // controlls common to all modes
34  virtual void setMono(bool on) = 0;
35  virtual void setVolumeTied(bool on) = 0;
36  virtual void setMeter(bool on) = 0;
37  virtual void setLeftVolume(double volume) = 0;
38  virtual void setRightVolume(double volume) = 0;
39 
40  // switching between playing a CHOP or a file
41  virtual void useChops() = 0;
42  virtual void useAudioFile() = 0;
43 
44  // setting the chop playback parameters
45  virtual void setChopPath(const char *node_path) = 0;
46 
47  // setting the file playback parameters
48  virtual void setAudioFileName(const char *file_name) = 0;
49  virtual void setAudioOffset(double time_offset) = 0;
50  virtual void setAudioFrame(double frame) = 0;
51 
52  // parameters specific to time line mode (scrub)
53  virtual void setScrubRepeat(bool on) = 0;
54  virtual void setScrubSustain(double sustain) = 0;
55  virtual void setScrubRate(double scrub_rate) = 0;
56 
57  // parameters specific to test mode
58  virtual void reverse() = 0;
59  virtual void stop() = 0;
60  virtual void play() = 0;
61  virtual void setLooping( bool on ) = 0;
62  virtual void setRewind( bool on ) = 0;
63 };
64 
65 #endif
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:344
#define HOM_API
Definition: HOM_API.h:13
virtual ~HOM_audio()
Definition: HOM_audio.h:22