Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

take_audio_lease

Function take_audio_lease 

Source
pub fn take_audio_lease() -> Option<Cd>
Expand description

The controller token, once the lease is granted (and not yet taken). The audio code programs the controller through it until it hands it back with release_audio_lease; the CD interrupt source stays closed meanwhile.