fn sound_card_init(args: &Args) -> std::result::Result<(), Box<dyn error::Error>> {
    info!("sound_card_id: {}", args.sound_card_id);
    AmpBuilder::new(&args.sound_card_id)
        .build()?
        .boot_time_calibration()?;

    Ok(())
}
/// Parses the CONF_DIR/<sound_card_id>.yaml and starts boot time calibration.
Parses the CONF_DIR/.yaml and starts boot time calibration.
Parses the CONF_DIR / . yaml and starts boot time calibration .
fn sound_card_init(args: &Args) -> std::result::Result<(), Box<dyn error::Error>> {
    info!("sound_card_id: {}", args.sound_card_id);
    AmpBuilder::new(&args.sound_card_id)
        .build()?
        .boot_time_calibration()?;
    Ok(())
}
fn sound_card_init ( args : & Args ) -> std :: result :: Result < ( ) , Box < dyn error :: Error > > { info ! ( " " args sound_card_id ) ; AmpBuilder :: new ( & args . sound_card_id ) . build ( ) ? . boot_time_calibration ( ) ? ; Ok ( ( ) ) }
Parses the CONF_DIR/<sound_card_id>.yaml and starts boot time calibration.
Parses the CONF_DIR / <sound_card_id > . yaml and starts boot time calibration .
args
&Args
args
&Args