Skip to content

Instantly share code, notes, and snippets.

@rfielding
Created February 17, 2011 15:11
Show Gist options
  • Save rfielding/831894 to your computer and use it in GitHub Desktop.
Save rfielding/831894 to your computer and use it in GitHub Desktop.
//WHAT A LIE. Measure it by recording the diff between acoustic and instrument output
float latency = 0.005;
OSStatus status =
AudioSessionSetProperty(
kAudioSessionProperty_PreferredHardwareIOBufferDuration,sizeof(latency),
&latency
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment