Skip to main content

pcmflux

Function pcmflux 

Source
pub(crate) fn pcmflux(m: &Bound<'_, PyModule>) -> PyResult<()>
Expand description

PyO3 module init: register the capture/playback classes and the atexit sweep.

Exposes AudioCapture, AudioCaptureSettings, AudioFrame, AudioPlayback, and AudioPlaybackSettings, then registers _stop_all_captures on Python’s atexit so no still-running capture thread is calling into Python during interpreter finalization.