earshot_capture_darwin 1.0.0
earshot_capture_darwin: ^1.0.0 copied to clipboard
The iOS and macOS implementation of earshot_capture, for on-device microphone capture and permission status.
Changelog #
1.0.0 #
- First stable release. The public API follows semantic versioning from now on: breaking changes only in a major version (ADR 0021).
0.2.0 #
- Document that capture is now the only user of the shared iOS audio session (ADR 0018). Behaviour is unchanged.
0.1.0 #
- Microphone permission request:
AVAudioApplication(iOS 17+) orAVAudioSessionon iOS,AVCaptureDeviceon macOS. - PCM capture with an
AVAudioEngineinput tap, converted to mono float32 at the requested rate withAVAudioConverter. iOS uses the.recordcategory with the.measurementmode. - Interruptions: audio session interruptions, media services resets and route changes on iOS, engine configuration changes on iOS and macOS. Capture restarts on its own.
- Pigeon
@EventChannelApistreams for PCM and state. - On iOS, share the app's audio session with the other earshot plugin: stopping capture or classification no longer stops the other (ADR 0017).
0.0.1 #
- Initial API preview.
- Microphone permission status.