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

how to use playAtTime #64

Open
davieds opened this issue Jul 13, 2019 · 0 comments
Open

how to use playAtTime #64

davieds opened this issue Jul 13, 2019 · 0 comments

Comments

@davieds
Copy link

davieds commented Jul 13, 2019

i need play 2 beat with different time ,first on the 1s, tow with 3s .
how to use playAtTime.

i try use


 [loop1 playAtTime:AETimeStampNone];

 AudioTimeStamp time = AETimeStampWithSamples(5 *self.saveRenderer.sampleRate);

[loop2 playAtTime:time];

loop1 work done!
but loop2 it not work!

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

No branches or pull requests

1 participant