fidl_fuchsia_hardware_audioTrait RingBufferProxyInterface
Source pub trait RingBufferProxyInterface: Send + Sync {
type GetPropertiesResponseFut: Future<Output = Result<RingBufferProperties, Error>> + Send;
type WatchClockRecoveryPositionInfoResponseFut: Future<Output = Result<RingBufferPositionInfo, Error>> + Send;
type GetVmoResponseFut: Future<Output = Result<RingBufferGetVmoResult, Error>> + Send;
type StartResponseFut: Future<Output = Result<i64, Error>> + Send;
type StopResponseFut: Future<Output = Result<(), Error>> + Send;
type SetActiveChannelsResponseFut: Future<Output = Result<RingBufferSetActiveChannelsResult, Error>> + Send;
type WatchDelayInfoResponseFut: Future<Output = Result<DelayInfo, Error>> + Send;
// Required methods
fn get_properties(&self) -> Self::GetPropertiesResponseFut;
fn watch_clock_recovery_position_info(
&self,
) -> Self::WatchClockRecoveryPositionInfoResponseFut;
fn get_vmo(
&self,
min_frames: u32,
clock_recovery_notifications_per_ring: u32,
) -> Self::GetVmoResponseFut;
fn start(&self) -> Self::StartResponseFut;
fn stop(&self) -> Self::StopResponseFut;
fn set_active_channels(
&self,
active_channels_bitmask: u64,
) -> Self::SetActiveChannelsResponseFut;
fn watch_delay_info(&self) -> Self::WatchDelayInfoResponseFut;
}