more optimization
as of now non-stereo sound chips are only processed once
This commit is contained in:
parent
6efcfc2e8a
commit
d6fb6b0bb3
17 changed files with 66 additions and 41 deletions
|
|
@ -85,10 +85,12 @@ class DivDispatch {
|
|||
* the engine shall resample to the output rate.
|
||||
*/
|
||||
int rate;
|
||||
virtual void acquire(short** buf, size_t start, size_t len);
|
||||
virtual void acquire(short* bufL, short* bufR, size_t start, size_t len);
|
||||
virtual int dispatch(DivCommand c);
|
||||
virtual void tick();
|
||||
|
||||
virtual bool isStereo();
|
||||
|
||||
/**
|
||||
* initialize this DivDispatch.
|
||||
* @param parent the parent DivEngine.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue