audiere::MIDIDevice Class Reference

#include <audiere.h>

Inheritance diagram for audiere::MIDIDevice:

Inheritance graph
[legend]
Collaboration diagram for audiere::MIDIDevice:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual const char * getName ()=0
virtual MIDIStreamopenStream (const char *filename)=0

Protected Member Functions

virtual ~MIDIDevice ()

Detailed Description

A MIDIDevice must be instantiated in order to open MIDIStreams.

Definition at line 1018 of file audiere.h.


Constructor & Destructor Documentation

virtual audiere::MIDIDevice::~MIDIDevice  )  [inline, protected, virtual]
 

Definition at line 1020 of file audiere.h.


Member Function Documentation

virtual const char* audiere::MIDIDevice::getName  )  [pure virtual]
 

Returns the name of the device.

Implemented in audiere::MCIMIDIDevice.

virtual MIDIStream* audiere::MIDIDevice::openStream const char *  filename  )  [pure virtual]
 

openStream() creates and returns a new MIDIStream object from the file with the specified name, which then can be queried and played. This method returns NULL if the stream cannot be opened.

Note: MCI subsystem limitations do not allow loading MIDIStream objects from an audiere File implementation. This may be addressed in future versions of this API.

Implemented in audiere::MCIMIDIDevice.


The documentation for this class was generated from the following file:
Generated on Mon Feb 13 23:08:53 2006 for audiere by  doxygen 1.4.6