OPL: put this variable outside
This commit is contained in:
parent
f0fffd9878
commit
89fb8842b0
|
@ -185,10 +185,10 @@ void DivPlatformOPL::acquire_nuked(short** buf, size_t len) {
|
||||||
thread_local short o[8];
|
thread_local short o[8];
|
||||||
thread_local int os[6];
|
thread_local int os[6];
|
||||||
thread_local ymfm::ymfm_output<2> aOut;
|
thread_local ymfm::ymfm_output<2> aOut;
|
||||||
|
thread_local short pcmBuf[24];
|
||||||
|
|
||||||
for (size_t h=0; h<len; h++) {
|
for (size_t h=0; h<len; h++) {
|
||||||
os[0]=0; os[1]=0; os[2]=0; os[3]=0; os[4]=0; os[5]=0;
|
os[0]=0; os[1]=0; os[2]=0; os[3]=0; os[4]=0; os[5]=0;
|
||||||
short pcmBuf[24]={0};
|
|
||||||
if (!writes.empty() && --delay<0) {
|
if (!writes.empty() && --delay<0) {
|
||||||
delay=1;
|
delay=1;
|
||||||
QueuedWrite& w=writes.front();
|
QueuedWrite& w=writes.front();
|
||||||
|
|
Loading…
Reference in a new issue