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
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:
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: