Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Gapless playback for mp3 #168

Open
bbsixzz opened this issue Oct 10, 2023 · 2 comments
Open

Feature: Gapless playback for mp3 #168

bbsixzz opened this issue Oct 10, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@bbsixzz
Copy link

bbsixzz commented Oct 10, 2023

Please implement gapless playback for mp3.

@bbsixzz bbsixzz added the enhancement New feature or request label Oct 10, 2023
@NattyNarwhal
Copy link
Member

Implementation wise, I think the easiest way to do this is use AVQueuePlayer instead of AVPlayer. We have our own playlist management, but we could probably just build its queue from that.

@f0ff886f
Copy link

It looks like according to https://stackoverflow.com/questions/10285545/gapless-playback-with-avqueueplayer-avplayer-is-it-possible, it may not be that simple :(

There is a fork of the mentioned StreamingKit that may help: https://github.com/GlobalRadio/StreamingKit but I think that is a large playback.

The SO question mentions that AVQueuePlayer has a small gap, but it is much better. Maybe that is enough to make thing sound better (as today there is quite a large gap).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants