Skip to content

Question on openal js implementation #19182

Answered by juj
ericoporto asked this question in Q&A
Discussion options

You must be logged in to vote

Queueing multiple buffers of different length each is ok, there are no specific restrictions to the queued buffer lengths.

One note is that this general strategy where multiple buffers are queued to be played/"stitched" continuously back-to-back is an abuse of the Web Audio API. I.e. it is not a use case that is supported by Web Audio API, and browsers have had issues in the past with producing seamlessly joined audio in this manner. When we reported those issues as bugs, they were rejected as "this should not be expected to even work".

However from those conversations we have been told that if one makes sure that the audio sampling rate of the stitched audio buffers matches the sampling …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ericoporto
Comment options

Answer selected by ericoporto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants