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

Introduced render notification cb for average and max timing reports #4

Closed
wants to merge 1 commit into from

Conversation

32Beat
Copy link

@32Beat 32Beat commented Apr 12, 2016

No description provided.

UInt32 inNumberFrames,
AudioBufferList * __nullable ioData)
{
static UInt64 startTime = 0;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There can be multiple IO units in the same process, so these variables should rather be instance variables.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's how Michael had it initially, but eventually I decided statics, because it is easier to copy-paste the code. Having said that, for public code, it probably is better to encapsulate it in an object or struct, but I prefer it not to be part of the actual module.

@michaeltyson
Copy link
Collaborator

Implemented in SHA 9b83661 with some modifications

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

Successfully merging this pull request may close these issues.

None yet

3 participants