fidl_fuchsia_hardware_audioTrait DaiProxyInterface
Source pub trait DaiProxyInterface: Send + Sync {
type GetHealthStateResponseFut: Future<Output = Result<HealthState, Error>> + Send;
type ResetResponseFut: Future<Output = Result<(), Error>> + Send;
type GetPropertiesResponseFut: Future<Output = Result<DaiProperties, Error>> + Send;
type GetDaiFormatsResponseFut: Future<Output = Result<DaiGetDaiFormatsResult, Error>> + Send;
type GetRingBufferFormatsResponseFut: Future<Output = Result<DaiGetRingBufferFormatsResult, Error>> + Send;
// Required methods
fn get_health_state(&self) -> Self::GetHealthStateResponseFut;
fn signal_processing_connect(
&self,
protocol: ServerEnd<SignalProcessingMarker>,
) -> Result<(), Error>;
fn reset(&self) -> Self::ResetResponseFut;
fn get_properties(&self) -> Self::GetPropertiesResponseFut;
fn get_dai_formats(&self) -> Self::GetDaiFormatsResponseFut;
fn get_ring_buffer_formats(&self) -> Self::GetRingBufferFormatsResponseFut;
fn create_ring_buffer(
&self,
dai_format: &DaiFormat,
ring_buffer_format: &Format,
ring_buffer: ServerEnd<RingBufferMarker>,
) -> Result<(), Error>;
}