joel16 / 3DShell

3DShell - (Pronounced 3D Shell) is a multi purpose file manager for the Nintendo 3DS. Heavily inspired by the CyanogenMod/LineageOS file manager.
311 stars 20 forks source link

Audio player crashes after about 30 minutes of continuous operation #43

Closed SadisticMystic closed 4 years ago

SadisticMystic commented 5 years ago

When I leave the audio player running, it always seems to cause a Luma crash after about half an hour, with the lid constantly open. This happens regardless of shuffle or sequential play mode, and has happened at both track transitions and in the middle of a song. Running on o3DS, here's the most recent crash dump.

crash_dump_00000004.dmp.zip

joel16 commented 5 years ago

I'm going to be refactoring a lot of the audio code in the near future to allow things like seeking, getting progress, time etc. Once it's available I'll let you know so that you can test it for me and let me know if this issue still persists.

grabercn commented 5 years ago

Same I also get this issue on the newest version :(

grabercn commented 5 years ago

Also what's the status on the next update?

joel16 commented 5 years ago

I haven't had the time to work on this yet. Probably not until some of my exams clear up.

grabercn commented 5 years ago

Alright cool, good to know it's still in development

joel16 commented 5 years ago

Ok, so you can access the new changes in the nighlty builds (you can update within the app). At the moment it crashes if you try exiting the app or pressing the home button only after using next/previous buttons or if the music player automatically plays the next audio file after the current one is finished. However if you play one audio file, and exit out of it using "B" those crashes won't happen.

The update also adds support for the following formats: IT, MOD, S3M and XM (Opus and Flac have been fixed now as well)

And it displays the current/total duration of each audio file as well as a small progress bar.

If you need to revert, you'll have to re-download the latest version from the releases tab.

grabercn commented 5 years ago

Cool epic 👍

joel16 commented 5 years ago

Thanks but that doesn't exactly answer the question. Can any of you guys confirm the issue with the 30 mins of continuous playback exists in the latest nightly?

SadisticMystic commented 5 years ago

I tried running the audio player in standard operation on the new version for over an hour without incident, so that seems to be fine. However, switching on the Shuffle button led to problems, starting with the progress bar getting stuck at the end of a track and failing to advance to the next one (it still responded to the "skip track button", though I had to keep pressing the button again to advance each track thereafter), and eventually to this crash.

crash_dump_00000006.dmp.zip

The repeat button, meanwhile, seems to be fine as well.

huckleberrypie commented 4 years ago

In my case, I am able to play audio files but 3DShell crashes intermittently especially after you switch to the next track. crashdumps.zip

joel16 commented 4 years ago

I've decided to remove the audio decoder functionality within 3DShell due to lack of time, and motivation. You can use the following alternative which seems to be better supported: https://github.com/Oreo639/LimePlayer3DS