Replies: 2 comments
-
Yes this might be correct. Therefore we should implement #1689 in order to fix this. |
Beta Was this translation helpful? Give feedback.
-
In Linux if you will use Dispose() in Music App, you will give no sound at all. With every new Note you will give +1 Volume Regulator in Ubuntu -> Settings -> Sound window. Their number will grow endlessly and will cause sound stop.
|
Beta Was this translation helpful? Give feedback.
-
All audio players need to be disposed, right?
IIUC,
ReleaseMode.release
only releases the internal audio playback pipeline on EOS and only on android. So ifAudioPlayer.dispose
is not called, on linux, that'll leave the native audio player alive forever including the pipeline, correct? And on android, only the audio player, without the playback pipeline is kept alive.So https://github.com/flame-engine/flame/blob/1d9fe6139287b984a05e0056c279b9c5d277e026/packages/flame_audio/example/lib/main.dart#L47-L49 should quickly lead to resource exhaustion. Is this correct?
Beta Was this translation helpful? Give feedback.
All reactions