chore: Prettified Code
[ci skip]
This commit is contained in:
parent
3a67ad3dcd
commit
0028b248ab
1 changed files with 3 additions and 3 deletions
|
@ -58,12 +58,12 @@ const Events = {
|
||||||
try {
|
try {
|
||||||
app.mk._services.mediaItemPlayback._currentPlayer.destroy();
|
app.mk._services.mediaItemPlayback._currentPlayer.destroy();
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
try{
|
try {
|
||||||
let searchInt = setInterval(function () {
|
let searchInt = setInterval(function () {
|
||||||
if (document.getElementById("apple-music-player")) {
|
if (document.getElementById("apple-music-player")) {
|
||||||
//AudioOutputs.eqReady = true;
|
//AudioOutputs.eqReady = true;
|
||||||
document.getElementById("apple-music-player").crossOrigin = "anonymous";
|
document.getElementById("apple-music-player").crossOrigin = "anonymous";
|
||||||
CiderAudio.source = CiderAudio.context.createMediaElementSource(document.getElementById("apple-music-player"))
|
CiderAudio.source = CiderAudio.context.createMediaElementSource(document.getElementById("apple-music-player"));
|
||||||
CiderAudio.source.connect(CiderAudio.audioNodes.intelliGainComp);
|
CiderAudio.source.connect(CiderAudio.audioNodes.intelliGainComp);
|
||||||
clearInterval(searchInt);
|
clearInterval(searchInt);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue