Move gain debug message to be more reliable
This commit is contained in:
parent
62300149d5
commit
c5dfdc7b23
1 changed files with 1 additions and 2 deletions
|
@ -118,12 +118,11 @@ class HtmlAudioPlayer {
|
||||||
} else {
|
} else {
|
||||||
self.gainNode.gain.value = 1;
|
self.gainNode.gain.value = 1;
|
||||||
}
|
}
|
||||||
|
console.debug('gain:' + self.gainNode.gain.value);
|
||||||
}).catch((err)=> {
|
}).catch((err)=> {
|
||||||
console.error('[UserSettings] failed to load userSettings', err);
|
console.error('[UserSettings] failed to load userSettings', err);
|
||||||
});
|
});
|
||||||
|
|
||||||
console.debug('gain:' + self.gainNode.gain.value);
|
|
||||||
|
|
||||||
// Convert to seconds
|
// Convert to seconds
|
||||||
const seconds = (options.playerStartPositionTicks || 0) / 10000000;
|
const seconds = (options.playerStartPositionTicks || 0) / 10000000;
|
||||||
if (seconds) {
|
if (seconds) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue