condense moree
This commit is contained in:
parent
e7744a1cc8
commit
c7caf499fb
1 changed files with 1 additions and 17 deletions
|
@ -28,23 +28,7 @@ const CiderAudio = {
|
|||
},
|
||||
off: function(){
|
||||
try{
|
||||
try{
|
||||
CiderAudio.audioNodes.gainNode.disconnect(); } catch(e){}
|
||||
try{ CiderAudio.audioNodes.spatialNode.disconnect();} catch(e){}
|
||||
try{
|
||||
for (var i of CiderAudio.audioNodes.analogWarmth){
|
||||
i.disconnect();
|
||||
}
|
||||
for (var i of CiderAudio.audioNodes.llpw){
|
||||
i.disconnect();
|
||||
}
|
||||
for (var i of CiderAudio.audioNodes.vibrantbassNode){
|
||||
i.disconnect();
|
||||
}
|
||||
for (var i of CiderAudio.audioNodes.audioBands){
|
||||
i.disconnect();
|
||||
}
|
||||
} catch(e){}
|
||||
CiderAudio.hierarchical_unloading();
|
||||
try{
|
||||
CiderAudio.audioNodes = {
|
||||
gainNode : null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue