Observed in STP 113 and iOS14 GA. Does not occur in Chrome or Safari 13. When using a Web Audio graph of the form: (BufferSource) -> (MediaStreamDestination) -> (HTMLMediaElement) disconnecting the BufferSource from the graph causes a malfunction, and garbage audio to be fed to the HTMLMediaElement. Setting HTMLMediaElement.srcObject = null works around the issue. Demo: https://jsfiddle.net/juberti/dev32of4/
<rdar://problem/69158436>
I am able to reproduce. Thank you for the reproduction case, I will investigate.
This is a regression from http://trac.webkit.org/changeset/265280.
Created attachment 409546 [details] Patch
Committed r267530: <https://trac.webkit.org/changeset/267530> All reviewed patches have been landed. Closing bug and clearing flags on attachment 409546 [details].