Comments (2)
I was able to recreate this behavior and I think you are right that it is internalCompletionHandler
. That method is called
DispatchQueue.main.async {
self.internalCompletionHandler()
}
This leads to a race condition since .playing
is being set before the callback fires setting it to .stopped
. Removing the async wrapper fixes the issue, but I'm not sure if that changes something else.
from audiokit.
This should now be fixed in the latest AudioKit build on the main branch. The async call was the culprit for the race condition. Feel free to reopen this if it is still giving you issues.
from audiokit.
Related Issues (20)
- FFTTap seems choppy in updating HOT 4
- AudioPlayer crashes application HOT 19
- Pitch Detection issues HOT 4
- The BaseTapDemo not work, HOT 5
- 404 file not found for Audio Kit package collection json HOT 1
- input bus 0 sample rate is 0 HOT 2
- AppleSequencer and MIDISampler are stuttering on the first note HOT 2
- AVAudioEngine.pause() method crashes when the app switches to the background HOT 2
- Restarting audio engine after stopping on scenePhase change HOT 2
- Make name of MusicTrackManager public HOT 3
- Using AudioKit from background thread - is it supported? HOT 3
- Unit tests failing MD5 validation HOT 3
- Unable to use renderToFile to export the output of AudioPlayer HOT 5
- Add VisionOS support HOT 4
- How to Implement a custom Audio Effect Node? HOT 8
- v4: Commit c612f44 caused linking to fail
- Audiokit MIDIListener crashes when sending a certain midi message HOT 7
- WatchOS supported HOT 1
- How to import AudioKit on a Capacitor iOS plugin HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audiokit.