mymixer.h
/* [<][>][^][v][top][bottom][index][help] */
FUNCTIONS
This source file includes following functions.
- mymixer
- Sync
- close
- mymixer_factory
#ifndef _MYMIXER_H
#define _MYMIXER_H
class mymixer {
/* [<][>][^][v][top][bottom][index][help] */
public:
virtual int open(int rate = 44100) = 0;
virtual void Mix(short* buf, int samples) = 0;
virtual void Sync() {}
/* [<][>][^][v][top][bottom][index][help] */
virtual void close() {}
/* [<][>][^][v][top][bottom][index][help] */
};
class mymixer_factory {
/* [<][>][^][v][top][bottom][index][help] */
public:
mymixer* Createmixer();
};
#endif