Struct Graph Audio Session
pub struct GraphAudioSession<'a, S: GraphSample = f32> { /* private fields */ }Expand description
Borrowed audio-owner graph session; stop/drop before returning the graph to control. Do not forget/leak this guard. Its non-Send/non-Sync marker confines normal Rust rendering/reset/stop to the starting owner. Panics remain caller ABI policy; hooks retain implementor callback obligations.
use ravet_graph::GraphAudioSession;
fn require_send<T: Send>() {}
require_send::<GraphAudioSession<'static>>();Implementations§
§impl<S: GraphSample> GraphAudioSession<'_, S>
impl<S: GraphSample> GraphAudioSession<'_, S>
pub fn process( &mut self, block: &mut ProcessBlock<'_, '_, '_, S>, ) -> GraphStatus
pub fn reset(&mut self)
pub fn try_reset(&mut self) -> Result<(), GraphStatus>
pub fn try_reset(&mut self) -> Result<(), GraphStatus>
Forward checked history reset; refusal leaves the graph faulted.
pub fn latency_samples(&self) -> u32
pub fn tail(&self) -> Tail
pub fn finish(self)
pub fn finish(self)
Finish native audio hooks now, retaining prepared histories/storage.