OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6f7117
)
[VM][AY_3_891X] Fix pop noise when enabling lpf or hpf.
author
K.Ohta
<whatisthis.sowhat@gmail.com>
Sun, 25 Aug 2019 08:51:04 +0000
(17:51 +0900)
committer
K.Ohta
<whatisthis.sowhat@gmail.com>
Sun, 25 Aug 2019 08:51:04 +0000
(17:51 +0900)
source/src/vm/ay_3_891x.cpp
patch
|
blob
|
history
diff --git
a/source/src/vm/ay_3_891x.cpp
b/source/src/vm/ay_3_891x.cpp
index
cfd5939
..
4cadc19
100644
(file)
--- a/
source/src/vm/ay_3_891x.cpp
+++ b/
source/src/vm/ay_3_891x.cpp
@@
-231,8
+231,8
@@
void AY_3_891X::mix(int32_t* buffer, int cnt)
int32_t* p;
int32_t p_h[cnt * 2];
int32_t p_l[cnt * 2];
-
//
memset(p_h, 0x00, sizeof(int32_t) * cnt * 2);
-
//
memset(p_l, 0x00, sizeof(int32_t) * cnt * 2);
+
memset(p_h, 0x00, sizeof(int32_t) * cnt * 2);
+
memset(p_l, 0x00, sizeof(int32_t) * cnt * 2);
p = p_l;
opn->Mix(p, cnt);
if(use_lpf) {