// Returns a registry populated with the AudioCore service.
Returns a registry populated with the AudioCore service.
Returns a registry populated with the AudioCore service .
async fn create_service() -> Arc<Mutex<ServiceRegistry>> {
    let service_registry = ServiceRegistry::create();
    let audio_core_service_handle =
        audio_core_service::Builder::new().set_suppress_client_errors(true).build();
    service_registry.lock().await.register_service(audio_core_service_handle.clone());
    service_registry
}
async fn create_service ( ) -> Arc < Mutex < ServiceRegistry > > { let service_registry = ServiceRegistry :: create ( ) ; let audio_core_service_handle = audio_core_service :: Builder :: new ( ) . set_suppress_client_errors ( true ) . build ( ) ; service_registry . lock ( ) . await . register_service ( audio_core_service_handle . clone ( ) ) ; service_registry }
Returns a registry populated with the AudioCore service.
Returns a registry populated with the AudioCore service .