pub enum CodecConnectorRequest {
Connect {
codec_protocol: ServerEnd<CodecMarker>,
control_handle: CodecConnectorControlHandle,
},
}
Expand description
For an overview of the Codec protocols see Codec Interface
§Deprecation
Not supported anymore, instead use an Audio Composite with one DAI and no Ring Buffer, see Audio Drivers Architecture
Variants§
Connect
Connect to a Codec protocol server. This indirection into the Codec protocol allows us to support independent codec client connections.
Implementations§
Source§impl CodecConnectorRequest
impl CodecConnectorRequest
pub fn into_connect( self, ) -> Option<(ServerEnd<CodecMarker>, CodecConnectorControlHandle)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CodecConnectorRequest
impl !RefUnwindSafe for CodecConnectorRequest
impl Send for CodecConnectorRequest
impl Sync for CodecConnectorRequest
impl Unpin for CodecConnectorRequest
impl !UnwindSafe for CodecConnectorRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more