Skip to content

About audio in html5 mobile #10

Discussion options

You must be logged in to vote

Hi, sorry for my late answer. I guess you are referring to the following specific comment?

if (kha.SystemImpl.mobile) {
// kha.js.MobileWebAudio doesn't support a custom audio callback, so
// manually synchronize all tracks here (note that because of this
// limitation there are no insert effects supported for mobile audio)
kha.Scheduler.addTimeTask(masterChannel.getMixChannel().synchronize, 0, 1/60);
}

What I mean with "custom audio callback" in that comment is a custom kha.audio2.Audio.audioCallback function that is (indirectly) called by the audio driver to request more audio samples from the…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MoritzBrueckner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants