source: golgotha/src/max_plugin/sdk_inc/soundobj.h @ 80

Last change on this file since 80 was 80, checked in by Sam Hocevar, 11 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
  • Property svn:keywords set to Id
File size: 1022 bytes
Line 
1/**********************************************************************
2 *<
3        FILE:  soundobj.h
4
5        DESCRIPTION:  Sound plug-in object base class
6
7        CREATED BY:  Rolf Berteig
8
9        HISTORY: created 2 July 1995
10
11 *>     Copyright (c) 1994, All Rights Reserved.
12 **********************************************************************/
13
14#ifndef _SOUNDOBJ_H_
15#define _SOUNDOBJ_H_
16
17#include <vfw.h>
18
19
20class SoundObj : public ReferenceTarget {
21        public:
22                virtual SClass_ID SuperClassID() {return SClass_ID(SOUNDOBJ_CLASS_ID);}         
23
24                virtual BOOL Play(TimeValue tStart,TimeValue t0,TimeValue t1,TimeValue frameStep)=0;
25                virtual void Scrub(TimeValue t0,TimeValue t1)=0;
26                virtual TimeValue Stop()=0;
27                virtual TimeValue GetTime()=0;
28                virtual BOOL Playing()=0;
29                virtual void SaveSound(PAVIFILE pfile,TimeValue t0,TimeValue t1)=0;
30                virtual void SetMute(BOOL mute)=0;
31                virtual BOOL IsMute()=0;
32        };
33
34
35CoreExport SoundObj *NewDefaultSoundObj();
36
37#endif // _SOUNDOBJ_H_
Note: See TracBrowser for help on using the repository browser.