fidl_fuchsia_mediaTrait AudioConsumerProxyInterface
Source pub trait AudioConsumerProxyInterface: Send + Sync {
type WatchStatusResponseFut: Future<Output = Result<AudioConsumerStatus, Error>> + Send;
// Required methods
fn create_stream_sink(
&self,
buffers: Vec<Vmo>,
stream_type: &AudioStreamType,
compression: Option<&Compression>,
stream_sink_request: ServerEnd<StreamSinkMarker>,
) -> Result<(), Error>;
fn start(
&self,
flags: AudioConsumerStartFlags,
reference_time: i64,
media_time: i64,
) -> Result<(), Error>;
fn stop(&self) -> Result<(), Error>;
fn set_rate(&self, rate: f32) -> Result<(), Error>;
fn bind_volume_control(
&self,
volume_control_request: ServerEnd<VolumeControlMarker>,
) -> Result<(), Error>;
fn watch_status(&self) -> Self::WatchStatusResponseFut;
}