fn connect_to_sound_player() -> Option<PlayerProxy> {
    match component::client::connect_to_service::<PlayerMarker>()
        .context("Connecting to fuchsia.media.sounds.Player")
    {
        Ok(result) => Some(result),
        Err(e) => {
            fx_log_err!("[earcons] Failed to connect to fuchsia.media.sounds.Player: {}", e);
            None
        }
    }
}
// Establish a connection to the sound player and return the proxy representing the service.
Establish a connection to the sound player and return the proxy representing the service.
Establish a connection to the sound player and return the proxy representing the service .
fn connect_to_sound_player() -> Option<PlayerProxy> {
    match component::client::connect_to_service::<PlayerMarker>()
        .context("Connecting to fuchsia.media.sounds.Player")
    {
        Ok(result) => Some(result),
        Err(e) => {
            fx_log_err!("[earcons] Failed to connect to fuchsia.media.sounds.Player: {}", e);
            None
        }
    }
}
fn connect_to_sound_player ( ) -> Option < PlayerProxy > { match component :: client :: connect_to_service :: < PlayerMarker > ( ) . context ( " " ) { Ok ( result ) => Some ( result ) , Err ( e ) => { fx_log_err ! ( " " e ) ; None } } }
Establish a connection to the sound player and return the proxy representing the service.
Establish a connection to the sound player and return the proxy representing the service .