fidl_fuchsia_hardware_audio

Trait 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>;
}

Required Associated Types§

Required Methods§

Source

fn get_health_state(&self) -> Self::GetHealthStateResponseFut

Source

fn signal_processing_connect( &self, protocol: ServerEnd<SignalProcessingMarker>, ) -> Result<(), Error>

Source

fn reset(&self) -> Self::ResetResponseFut

Source

fn get_properties(&self) -> Self::GetPropertiesResponseFut

Source

fn get_dai_formats(&self) -> Self::GetDaiFormatsResponseFut

Source

fn get_ring_buffer_formats(&self) -> Self::GetRingBufferFormatsResponseFut

Source

fn create_ring_buffer( &self, dai_format: &DaiFormat, ring_buffer_format: &Format, ring_buffer: ServerEnd<RingBufferMarker>, ) -> Result<(), Error>

Implementors§