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

PlayCallback Class Reference

Playback Callback class. More...

#include <Project.h>

Inheritance diagram for PlayCallback:

DeviceCallback 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 &format)
 OnBuffer event.


Detailed Description

Playback Callback class.

This class is used by the playback device to give the main process an acknowledge to generate (mix) next part of the output buffer.


Member Function Documentation

samples_t PlayCallback::OnBuffer void *  buf,
const samples_t  len,
const samples_t  pos,
const format_ex_t format
[virtual]
 

OnBuffer event.

This event method is executed when the playback device demands to mix next part of the output buffer.

Parameters:
buf Output (mix buffer).
len Number of samples to mix.
pos Absolute position in the playback stream where to mix the first sample.
format Output format description to generate.
Returns:
Number of samples created.

Implements DeviceCallback.


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