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

[Bug]: Audio Events not sent when an audio file finishes playing #165

Closed
1 task done
lucasstarsz opened this issue Jan 6, 2022 · 0 comments · Fixed by #212
Closed
1 task done

[Bug]: Audio Events not sent when an audio file finishes playing #165

lucasstarsz opened this issue Jan 6, 2022 · 0 comments · Fixed by #212
Assignees
Labels
bug Something isn't working

Comments

@lucasstarsz
Copy link
Member

What happened?

Because audio events are manually generated, they currently do not cover when an audio file finishes playing. That's a pretty big problem. (Related to: #23)

How to Reproduce the Error

1. Load any MemoryAudio/StreamedAudio instance
2. Log when that instance is closed (audio.getAudioEventListener().setAudioCloseOption(System.out::println)
  - You'll also need to set up some way to prevent the program from closing -- Thread.sleep(xxx) does this just fine.
3. Run the code -- nothing for the audio is printed out.

FastJ Version

snapshot (please specify below)

Specific FastJ Version

FastJ 1.6.0-SNAPSHOT-3 (any of them, really)

Java Version

Java 11

Relevant Exceptions/Log Output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@lucasstarsz lucasstarsz added the bug Something isn't working label Jan 6, 2022
@lucasstarsz lucasstarsz self-assigned this Jan 6, 2022
lucasstarsz added a commit to lucasstarsz/FastJ that referenced this issue May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant