flutter_soloud icon indicating copy to clipboard operation
flutter_soloud copied to clipboard

fix: A constant stream of messages in console

Open synchronisator opened this issue 4 months ago • 12 comments

Description

I replaced in my App "audioplayers" with SoLoud and it works realy great. But on Android there is a permanent Stream of Messages in the console and the performance is bad so i think i did something wromg or there is a problem. The message is

V/AudioTrack(28092): processAudioBuffer(5684): obtainBuffer(30) returned 882 = 30 + 852 err 0
V/AudioTrack(28092): processAudioBuffer(5684): obtainBuffer(882) returned 852 = 852 + 0 err 0
V/AudioTrack(28092): processAudioBuffer(5684): obtainBuffer(882) returned 852 = 852 + 0 err 0
V/AudioTrack(28092): processAudioBuffer(5684): obtainBuffer(30) returned 0 = 0 + 0 err -11

Steps To Reproduce

  1. add SoLoud to my Project
  2. Init in main
void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  await SoLoud().startIsolate().then((PlayerErrors value) {
    if (value != PlayerErrors.noError) {
      return;
    }
  });
[...]

  1. See Massage in console.

Expected Behavior

Expect no messages

Screenshots

grafik

Additional Context

Developing under Linux for Android.

synchronisator avatar Feb 17 '24 16:02 synchronisator