AePlayer.h
1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//
// AePlayer
//
// This class represents players of the audio asset data.
// It is an abstract class that provides basic audio playback
// functionality and player setup.
//
// Concrete players such as the N64 player or the Indy player
// should be subclasses off of this class. In turn, AePlayer
// is derived from AeClient so that it can be notified of
// any changes to asset data. AePlayers are read-only clients
// of the asset database.
//
#ifndef __AePlayer__
#define __AePlayer__
#include "AeClient.h"
class AeAsset;
class AeAssetWindow;
class AePlayer : public AeClient
{
public:
AePlayer (void);
virtual ~AePlayer (void);
// calls for auditioning sounds through the player
virtual void AuditionStart (AeAsset *);
virtual void AuditionStop (void);
// calls building a player specific menu for the main window
virtual void BuildMenu (AeAssetWindow *);
protected:
char fAuditioning; // True if an asset is being auditioned
char fPatch; // currently auditioning patch
char fKey; // currently auditioning key
char fChannel; // currently auditioning channel
};
#endif __AePlayer__