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
|
|
@ -4,11 +4,10 @@
|
|||
|
||||
#define FREQ_BASE 277.0f
|
||||
|
||||
void DivPlatformC64::acquire(short** buf, size_t start, size_t len) {
|
||||
void DivPlatformC64::acquire(short* bufL, short* bufR, size_t start, size_t len) {
|
||||
for (size_t i=start; i<start+len; i++) {
|
||||
sid.clock();
|
||||
buf[0][i]=sid.output();
|
||||
buf[1][i]=buf[0][i];
|
||||
bufL[i]=sid.output();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue