Ошибка E/MP3Extractor: Unable to resync. Signalling end of stream

Пытаюсь воспроизвести аудио файл (вроде как работает ) смущает что в логах такие ошибки

2023-03-14 20:07:18.685 758-16884/? E/AudioSystem: invalid attributes { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_UNKNOWN Source: -1 Flags: 0x800 Tags:  } when converting to stream
2023-03-14 20:07:18.688 756-10301/? E/MP3Extractor: Unable to resync. Signalling end of stream.
2023-03-14 20:07:18.691 1705-9228/? E/audio_hw_extn: audio_extn_perf_lock_acquire: Failed to acquire perf lock, err: -1
2023-03-14 20:07:18.691 1705-9228/? E/msm8916_platform: platform_check_backends_match: Invalid snd_device = 
2023-03-14 20:07:18.691 1705-9228/? E/audio_hw_dolby: audio_extn_dolby_ds2_set_endpoint: Dolby set endpint :0x2
2023-03-14 20:07:18.712 1705-9228/? E/audio_hw_extn: audio_extn_perf_lock_release: Perf lock release error 
2023-03-14 20:07:18.722 758-13215/? E/FMQ: grantorIdx must be less than 3
2023-03-14 20:07:18.723 758-13215/? E/FMQ: grantorIdx must be less than 3
2023-03-14 20:07:18.724 800-2208/? E/FMQ: grantorIdx must be less than 3
2023-03-14 20:07:18.725 800-2208/? E/FMQ: grantorIdx must be less than 3
2023-03-14 20:07:18.739 758-13215/? E/FMQ: grantorIdx must be less than 3
2023-03-14 20:07:18.739 800-2208/? E/FMQ: grantorIdx must be less than 3
2023-03-14 20:07:18.742 800-13216/? E/FMQ: grantorIdx must be less than 3
2023-03-14 20:07:18.743 758-10159/? E/FMQ: grantorIdx must be less than 3
2023-03-14 20:07:18.765 758-13213/? E/AudioSystem: invalid attributes { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_UNKNOWN Source: -1 Flags: 0x800 Tags:  } when converting to stream
2023-03-14 20:07:20.099 756-10301/? E/MP3Extractor: Unable to resync. Signalling end of stream.
2023-03-14 20:07:20.100 756-10301/? E/MP3Extractor: Unable to resync. Signalling end of stream.
2023-03-14 20:07:20.537 756-10301/? E/MP3Extractor: Unable to resync. Signalling end of stream.
2023-03-14 20:07:20.540 756-10301/? E/MP3Extractor: Unable to resync. Signalling end of stream.
2023-03-14 20:07:21.018 756-10301/? E/MP3Extractor: Unable to resync. Signalling end of stream.
2023-03-14 20:07:21.985 13220-13220/? E/[email protected]: Couldn't load thermal module (No such file or directory)
2023-03-14 20:07:21.986 13220-13220/? E/HidlServiceManagement: Service [email protected]::IThermal/default must be in VINTF manifest in order to register/get.
2023-03-14 20:07:21.986 13220-13220/? E/LegacySupport: Could not register service [email protected]::IThermal/default (-2147483648).
2023-03-14 20:07:23.354 756-10301/? E/MP3Extractor: Unable to resync. Signalling end of stream.
2023-03-14 20:07:23.356 756-10301/? E/MP3Extractor: Unable to resync. Signalling end of stream.

..

public class MainActivity extends AppCompatActivity {

    MediaPlayer mPlayer;
    MediaPlayer mPlayer1;


    @Override
    public void onDestroy() {
        super.onDestroy();
        if (mPlayer.isPlaying()) {
            stopPlay();
        }
        if (mPlayer1.isPlaying()) {
            stopPlay1();
        }
    }

    protected void onPause() {
        stop(null);
        stop1(null);
        super.onPause();

    }

    @Override
    protected void onResume() {
        super.onResume();
        mPlayer= MediaPlayer.create(this, R.raw.fon);
        mPlayer1= MediaPlayer.create(this, R.raw.interaction);
        mPlayer.setLooping(true);
        mPlayer.start();

    }

    private void stopPlay(){
        mPlayer.stop();

        try {
            mPlayer.prepare();
            mPlayer.seekTo(0);
        }
        catch (Throwable t) {
            Toast.makeText(this, t.getMessage(), Toast.LENGTH_SHORT).show();
        }
    }

    private void stopPlay1(){
        mPlayer1.stop();

        try {
            mPlayer1.prepare();
            mPlayer1.seekTo(0);
        }
        catch (Throwable t) {
            Toast.makeText(this, t.getMessage(), Toast.LENGTH_SHORT).show();
        }
    }

    public void stop(View view){
        stopPlay();
    }

    public void stop1(View view){
        stopPlay1();
    }


    @Override
    public void onCreate(Bundle savedInstanceState) {
        setTheme(R.style.AppTheme);
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);


    }


    public void quantity_1(View v) {
        stopPlay1();
        mPlayer1.start();


    }}

Ответы (0 шт):