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

Callback does not time correctly #179

Open
Mec-iS opened this issue Nov 5, 2019 · 1 comment
Open

Callback does not time correctly #179

Mec-iS opened this issue Nov 5, 2019 · 1 comment

Comments

@Mec-iS
Copy link

Mec-iS commented Nov 5, 2019

As found in RustAudio/synth -> RustAudio/synth#50

At this line of the example whenever a synth is started sounds never stop playing as the time and the counter do not flow:

TIMER >>>>>>>> 0.0
TIME >>>>>>> OutputCallbackTimeInfo { current: 0.0, buffer_dac: 0.0016780045351473924 }
TIMER >>>>>>>> 0.0
TIME >>>>>>> OutputCallbackTimeInfo { current: 0.0, buffer_dac: 0.00022675736961451248 }
TIMER >>>>>>>> 0.0
TIME >>>>>>> OutputCallbackTimeInfo { current: 0.0, buffer_dac: 0.0016780045351473924 }
TIMER >>>>>>>> 0.0
TIME >>>>>>> OutputCallbackTimeInfo { current: 0.0, buffer_dac: 0.00022675736961451248 }
TIMER >>>>>>>> 0.0
TIME >>>>>>> OutputCallbackTimeInfo { current: 0.0, buffer_dac: 0.0016780045351473924 }
TIMER >>>>>>>> 0.0
TIME >>>>>>> OutputCallbackTimeInfo { current: 0.0, buffer_dac: 0.00022675736961451248 }
TIMER >>>>>>>> 0.0
TIME >>>>>>> OutputCallbackTimeInfo { current: 0.0, buffer_dac: 0.0016780045351473924 }
TIMER >>>>>>>> 0.0
TIME >>>>>>> OutputCallbackTimeInfo { current: 0.0, buffer_dac: 0.00022675736961451248 }
TIMER >>>>>>>> 0.0
TIME >>>>>>> OutputCallbackTimeInfo { current: 0.0, buffer_dac: 0.0016780045351473924 }
TIMER >>>>>>>> 0.0
@wmedrano
Copy link
Member

wmedrano commented Dec 8, 2020

Can you give details on what OS and HostApi you are using?

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

2 participants