AePlayer.h 1.16 KB
//
// 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__