pub trait AudioProvider: Send + Sync {
// Required methods
fn list_devices<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_volume<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn set_volume<'life0, 'async_trait>(
&'life0 self,
volume: u8,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn mute<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn unmute<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn set_default_device<'life0, 'life1, 'async_trait>(
&'life0 self,
device_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Audio control provider trait