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

Gapless Looping Issue on iOS 17+ #1150

Open
DeclanShine opened this issue Dec 27, 2023 · 3 comments
Open

Gapless Looping Issue on iOS 17+ #1150

DeclanShine opened this issue Dec 27, 2023 · 3 comments
Assignees
Labels
1 backlog bug Something isn't working

Comments

@DeclanShine
Copy link

On Apple Devices above iOS 17, a clicking noise can be heard on each loop, when loopmode set to one.

On android devices and apple devices running iOS 15.5 no clicking noise can be heard. This is an iOS 17+ specific issue.

Minimal reproduction project

The example.

As per the instructions for contributing:
https://github.com/ryanheise/just_audio/blob/minor/CONTRIBUTING.md

" If the only change to the example necessary to reproduce the bug is the audio source URL, it will be sufficient to supply that URL without forking the repository, as long as you clarify in your bug report what we should do with that URL."

AUDIO SOURCE:

https://firebasestorage.googleapis.com/v0/b/frequencies-44e38.appspot.com/o/assets%2Faudio%2F174.mp3?alt=media&token=928ab936-12f5-4321-b17a-4c4942bc6b58

The audio source linked above can be looped, with loopMode set to one.

`
await player.setLoopMode(LoopMode.one);
await player.play();

 `

To Reproduce (i.e. user steps, not code)
Steps to reproduce the behavior:

  1. Play the audio file with loopMode set to one
  2. Observe clicking sound on each loop

Error messages

None

Expected behavior

Seamless gapless looping without clicking sounds.

Screenshots

None

Desktop (please complete the following information):

N/A

Smartphone (please complete the following information):

  • Device: iPhone 12 Pro Max
  • OS: iOS 17

Flutter SDK version

[✓] Flutter (Channel stable, 3.10.6, on macOS 13.5.1 22G90 darwin-x64, locale en-CH)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.85.1)
[✓] Connected device (2 available)
[✓] Network resources

Additional context
I have attempted to find a workaround or a fix for three weeks without any success. I appreciate your assistance and look forward to hearing from you. If there are any further questions I am happy to help.

@DeclanShine DeclanShine added 1 backlog bug Something isn't working labels Dec 27, 2023
Copy link

Oops, it appears that your issue did not follow the template and is missing one or more required sections. Please open a new issue, and provide all required sections and information.

FAQ:

  1. Do I really need to submit a minimal reproduction project for a bug? A: Yes. I prioritise bugs secondarily on how many people are affected, and primarily on whether the bug report is complete, in the sense that it enables me to immediately reproduce it and start working on a fix. If a bug is important to you, the best thing you can do is to provide all requested information ASAP so that I can start looking into it ASAP.

  2. I think I supplied all required information, so did the bot make a mistake? A: The bot only checks the section headings, so when you post a new issue, make sure you leave the section headings intact. (Note that because of this, it is even possible to trick the bot by including only the section headings, and then not providing the requested information under each heading. This is frowned upon, and the issue will be closed manually.)

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with just_audio.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 11, 2024
@ryanheise
Copy link
Owner

" If the only change to the example necessary to reproduce the bug is the audio source URL, it will be sufficient to supply that URL without forking the repository, as long as you clarify in your bug report what we should do with that URL."

Although the bot didn't like that you deleted and skipped the first section of the bug report. Reopening.

@ryanheise ryanheise reopened this Oct 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1 backlog bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants