AnalyzerNode::getByteFrequencyData claims that an element in the Uint8array is set to negative infinity #32640
Labels
area: Web Audio
Content:WebAPI
Web API docs
goal: accuracy
(Experimental label) Issues about inaccurate/incorrect content.
help wanted
If you know something about this topic, we would love your help!
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getByteFrequencyData#array
What specific section or headline is this issue about?
The
array
parameterWhat information was incorrect, unhelpful, or incomplete?
For the
array
parameter inAnalyzerNode::getByteFrequencyData
, the docs claim thatThis is wrong since an Uint8 cannot be set to negative infinity.
It was probably copy-pasted from
getFloatFrequencyData
, which does the same as this method, but fills out aFloat32Array
instead of aUint8array
What did you expect to see?
It shouldn't be claimed that an uint8 will be set to negative infinity.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
The text was updated successfully, but these errors were encountered: