1// Copyright 2020 The ChromiumOS Authors 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5syntax = "proto3"; 6 7option go_package = "go.chromium.org/chromiumos/config/go/api/software"; 8 9package chromiumos.config.api.software; 10 11import "chromiumos/config/public_replication/public_replication.proto"; 12 13// Note that all files should be specified as paths relative to the root of a 14// chromiumos checkout, e.g. "src/overlays/overlay-<target>/audio/HiFi.conf". 15message AudioConfig { 16 // Configures fields of AudioConfig that are made public. 17 chromiumos.config.public_replication.PublicReplication public_replication = 9; 18 19 // The name of the audio card. 20 string card_name = 1; 21 22 // Path to the CRAS card configuration file. 23 // See 24 // https://chromium.googlesource.com/chromiumos/third_party/adhd/+/HEAD/cras/#card-configuration. 25 string card_config_file = 2; 26 27 // Path to the dsp.ini configuration file. 28 string dsp_file = 3; 29 30 // Path to the UCM file. Note that this is the UCM verb file (e.g. 31 // "HiFi.conf"), NOT the UCM master file (e.g. <sound card name>.conf). 32 string ucm_file = 4; 33 34 // Path to the UCM master file (e.g. <sound card name>.conf). 35 string ucm_master_file = 5; 36 37 // UCM suffix, if any. 38 string ucm_suffix = 6; 39 40 // Path to the ALSA module config file. 41 string module_file = 7; 42 43 // Path to the boards specific settings board.ini file. 44 string board_file = 8; 45 46 // Path to the sound_card_init config (e.g. <card_id>.yaml). 47 string sound_card_init_file = 10; 48 49 // The short name of sound card. 50 string card_id = 11; 51 52 // The custom project name of cras path 53 string cras_custom_name = 12; 54} 55