monofox / harbour-audioaddict

Native AudioAddict client for Sailfish
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Playback Stutters #2

Open ProjectMoon opened 3 years ago

ProjectMoon commented 3 years ago

Most noticeable on high quality, but also on medium (didn't test low).

This was with Digitally Imported channels.

There's no noticeable CPU usage according to Crest.

Device: Sony Xperia 10 Plus

monofox commented 3 years ago

Hi @ProjectMoon , thanks for your report. Indeed i face this issue on Xperia 10 as well and experienced it with the former SkyFm-App too.

I didn't found the root cause yet (either e.g. QML Audioplayer is not fast enough to handle the network stream on Sailfish or if e.g. the underlaying component of the network stream is not caching enough).

ProjectMoon commented 3 years ago

Is caching of the stream handled automatically? Maybe it needs some tweaking?

monofox commented 3 years ago

Yes @ProjectMoon. Caching is right now automatically handled by Qt (via https://doc.qt.io/qt-5/qml-qtmultimedia-audio.html). I didn't found any way to tweak the cache from QML side. Original i thought, that the issue is due to the high amount of parallel requests for the stations pictures and implemented a caching algorithm. Now the channels are pretty fast loaded, but it still stucks. Therefore i guess, i must somehow find a way through C routines to tweak the cache or to implement custom network provider for audio player.