Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

DeviceCallback Class Reference

Callback class supplying wave data to the device. More...

#include <Devices.h>

Inheritance diagram for DeviceCallback:

PlayCallback List of all members.

Public Member Functions

virtual samples_t OnBuffer (void *buf, const samples_t len, const samples_t pos, const format_ex_t &fmt)=0
 Supply data.


Detailed Description

Callback class supplying wave data to the device.

Derived classes implement a glue between a Device object and the main process thread. Using this glue the device asks for wave data to play.


Member Function Documentation

virtual samples_t DeviceCallback::OnBuffer void *  buf,
const samples_t  len,
const samples_t  pos,
const format_ex_t fmt
[pure virtual]
 

Supply data.

Implemented in PlayCallback.


The documentation for this class was generated from the following file:
Generated on Wed Jul 28 17:17:42 2004 for FinalMix by doxygen 1.3.5