pub struct SignalProcessing { /* private fields */ }
Expand description
Client for the composed signal processing Reader
in a fuchsia.audio.device.Observer
.
Implementations§
Source§impl SignalProcessing
impl SignalProcessing
Sourcepub async fn elements(&self) -> Result<Option<Vec<Element>>, Error>
pub async fn elements(&self) -> Result<Option<Vec<Element>>, Error>
Returns this device’s signal processing elements, or None
if the device does not support
signal processing.
Sourcepub async fn topologies(&self) -> Result<Option<Vec<Topology>>, Error>
pub async fn topologies(&self) -> Result<Option<Vec<Topology>>, Error>
Returns this device’s signal processing topologies, or None
if the device does not
support signal processing.
Sourcepub async fn topology_id(&self) -> Option<TopologyId>
pub async fn topology_id(&self) -> Option<TopologyId>
Returns the current signal processing topology ID, or None
if the device does not support
signal processing.
Sourcepub async fn element_state(&self, element_id: ElementId) -> Option<ElementState>
pub async fn element_state(&self, element_id: ElementId) -> Option<ElementState>
Returns the state of the signal processing element with the given element_id
.
Returns None if there is no element with the given ID, or if the device does not support signal processing.
Sourcepub async fn element_states(&self) -> Option<BTreeMap<ElementId, ElementState>>
pub async fn element_states(&self) -> Option<BTreeMap<ElementId, ElementState>>
Returns states of all signal processing elements, or None
if the device does not support
signal processing.
Auto Trait Implementations§
impl Freeze for SignalProcessing
impl !RefUnwindSafe for SignalProcessing
impl Send for SignalProcessing
impl Sync for SignalProcessing
impl Unpin for SignalProcessing
impl !UnwindSafe for SignalProcessing
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