You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per spec https://w3c.github.io/webcodecs/#dom-audiodatacopytooptions-format if the format is not specified, we are to use the same format as the source.
Which could be interleaved as the format for decoding isn't specified.
Calling copyTo with a planeIndex of 0 with an interleaved buffer will attempt to copy all planes.
So we just set the destination format to be f32-planar.
This allows playback to start on browsers that aren't Blink based (Firefox, Safari)
0 commit comments