The sample frame data in the inputs of the process method in AudioWorkletProcessor is 0. #2601
Labels
Needs Reporter Feedback
The issue needs feedback from the reporter. https://speced.github.io/spec-maintenance/about/
I found that besides the case of silence, when my audio is just starting to load and has already finished playing or paused, the process method still executes and passes all sample frames in inputs as 0. Their length is still 128, but they are all 0. My program needs to record the valid data of the audio per second and expects to cache one AudioBuffer per second. So, is 0 considered valid data? How can I accurately filter out invalid data and only retain the valid data?
The text was updated successfully, but these errors were encountered: