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
Hello, I want to use the library in a doorbell repeater.
For its own nature, the device plays the same mp3 (from LittleFS) every time it is invoked.
Apparently, after the first time the ringtone is played, there is no way to rewind. From what I read in the various comments here, the only option is to delete the file object and open it again.
In this process, the heap gets smaller and smaller and then the device crashes. I triple-checked the objects lifecycle and it is not a matter of not releasing them properly.
Is there a known leak somewhere? (or is there a better way to implement the expected behavior?)
thanks!
The text was updated successfully, but these errors were encountered:
Hello, I want to use the library in a doorbell repeater.
For its own nature, the device plays the same mp3 (from LittleFS) every time it is invoked.
Apparently, after the first time the ringtone is played, there is no way to rewind. From what I read in the various comments here, the only option is to delete the file object and open it again.
In this process, the heap gets smaller and smaller and then the device crashes. I triple-checked the objects lifecycle and it is not a matter of not releasing them properly.
Is there a known leak somewhere? (or is there a better way to implement the expected behavior?)
thanks!
The text was updated successfully, but these errors were encountered: