Skip to content

Commit

Permalink
tidy/fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorin-Oakenpants authored Oct 30, 2024
1 parent 830fc5e commit dd9e58b
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions js/audio.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const get_audio_offline = () => new Promise(resolve => {
if (hashG !== hashC) {isLies = true} else {isLies = check_audioLies()}
// notation: three results since 1877221 FF124+ split x86 into 32/64 bitness
// isArch: true = large arrays else it's an error string
if (isArch) {
if (true === isArch) {
if ('a7c1fbb6' == hashC) {notation = sgtick+'x86_64/amd_64]'+sc
} else if ('a34c73cd' == hashC) {notation = sgtick+'ARM64/aarch64]'+sc}
} else {
Expand Down Expand Up @@ -209,8 +209,12 @@ const get_oscillator = () => new Promise(resolve => {
if ('number' !== typeCheck) {throw zErrType + typeCheck}
let hash = mini(results)
if (isSmart) {
if (hash == '5b3956a9') {notation = sgtick+'x86/amd]'+sc // 1877221
} else if (hash == 'f263f055') {notation = sgtick+'RFP ARM]'+sc}
if (true === isArch) {
if ('5b3956a9' == hash) {notation = sgtick+'x86_64/amd_64]'+sc
} else if ('f263f055' == hash) {notation = sgtick+'ARM64/aarch64]'+sc}
} else {
if ('e9f98e24' == hash) {notation = sgtick+'x86/i686/ARMv7]'+sc}
}
}
exit(hash)
} catch(e) {
Expand Down Expand Up @@ -275,8 +279,12 @@ const get_oscillator_compressor = () => new Promise(resolve => {
if ('number' !== typeCheck) {throw zErrType + typeCheck}
let hash = mini(results)
if (isSmart) {
if (hash == 'e08487bf') {notation = sgtick+'x86/amd]'+sc // 1877221
} else if (hash == '1f38e089') {notation = sgtick+'RFP ARM]'+sc}
if (true === isArch) {
if ('e08487bf' == hash) {notation = sgtick+'x86_64/amd_64]'+sc
} else if ('1f38e089' == hash) {notation = sgtick+'ARM64/aarch64]'+sc}
} else {
if ('bafe56d6' == hash) {notation = sgtick+'x86/i686/ARMv7]'+sc}
}
}
exit(hash)
} catch(e) {
Expand Down

0 comments on commit dd9e58b

Please sign in to comment.