Merge branch 'main' of https://github.com/ciderapp/Cider
This commit is contained in:
commit
e547082e2e
3 changed files with 5 additions and 5 deletions
|
@ -50,7 +50,7 @@ const CiderAudio = {
|
|||
connectContext: function (mediaElem) {
|
||||
if (!CiderAudio.context) {
|
||||
CiderAudio.context = new window.AudioContext({ sampleRate: 96000, latencyHint: "playback"}); // Don't ever remove the sample rate arg. Ask Maikiwi.
|
||||
app.lyricOffset = CiderAudio.context.baseLatency
|
||||
app.lyricOffset = CiderAudio.context.baseLatency + CiderAudio.context.outputLatency
|
||||
}
|
||||
if (!CiderAudio.source) {
|
||||
CiderAudio.source = CiderAudio.context.createMediaElementSource(mediaElem);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue