Searched refs:sound_card_id (Results 1 – 2 of 2) sorted by relevance
/external/adhd/sound_card_init/amp/src/ |
D | lib.rs | 22 sound_card_id: &'a str, field 32 pub fn new(sound_card_id: &'a str, conf_file: &'a str) -> Self { in new() 35 sound_card_id, in new() 42 match self.sound_card_id { in build() 44 Ok(Box::new(Max98390::new(self.sound_card_id, &self.config_path)?) as Box<dyn Amp>) in build() 47 Ok(Box::new(Max98373::new(self.sound_card_id, &self.config_path)?) as Box<dyn Amp>) in build() 49 _ => Err(Error::UnsupportedSoundCard(self.sound_card_id.to_owned())), in build()
|
/external/adhd/sound_card_init/src/ |
D | main.rs | 31 pub sound_card_id: String, field 81 let sound_card_id = matches in parse_args() localVariable 98 sound_card_id, in parse_args() 105 info!("sound_card_id: {}, conf:{}", args.sound_card_id, args.conf); in sound_card_init() 106 AmpBuilder::new(&args.sound_card_id, &args.conf) in sound_card_init() 128 if let Err(e) = run_time::now_to_file(&args.sound_card_id) { in main()
|