punarinta / react-native-sound-level

A package to dynamically measure sound input level in React Native applications. Can be used to help user to adjust microphone sensitivity.
MIT License
79 stars 45 forks source link

Frozen tracking when scrolling Flatlist #29

Open nadsonfernando opened 1 year ago

nadsonfernando commented 1 year ago

When any list (Flatlist, ScrollView, SectionList) is scrolled, the microphone listener is frozen until the list is disposed.

I did the test in several ways, the call to SoundLevel.onNewFrame is somewhere else out of context of the list, but when I scroll any list the listener stops printing the decibel value of the microphone