We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AVAudioSession
In native iOS we can set preferredIOBufferDuration:
preferredIOBufferDuration
let audioSession = AVAudioSession.sharedInstance() let preferredIOBufferDuration: TimeInterval = 1.0 / audioSession.sampleRate * Double(self.BUFFER_SIZE) try audioSession.setPreferredIOBufferDuration(Double(preferredIOBufferDuration))
Do we have an interface in the AudioSession class for doing that?
AudioSession
The text was updated successfully, but these errors were encountered:
Same for setPrefersNoInterruptionsFromSystemAlerts
Sorry, something went wrong.
Not yet. You can see in lib/src/darwin.dart that this is currently commented out as a TODO item for perhaps a contributor to pick up:
lib/src/darwin.dart
//Future<Duration> get preferredIoBufferDuration async { // return Duration.zero; //} //Future<void> setPreferredIoBufferDuration(Duration duration) async {}
You are welcome to try your hand at implementing the additional methods you need and submit it as a PR.
Created PR for setPrefersNoInterruptionsFromSystemAlerts and get*
No branches or pull requests
In native iOS we can set
preferredIOBufferDuration
:Do we have an interface in the
AudioSession
class for doing that?The text was updated successfully, but these errors were encountered: