blob: e07884512e90b823292de0f72971b5381e591860 [file] [log] [blame]
// Copyright 2020 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.17.1
// source: chromiumos/config/api/software/audio_config.proto
package software
import (
public_replication "go.chromium.org/chromiumos/config/go/public_replication"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// Note that all files should be specified as paths relative to the root of a
// chromiumos checkout, e.g. "src/overlays/overlay-<target>/audio/HiFi.conf".
type AudioConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Configures fields of AudioConfig that are made public.
PublicReplication *public_replication.PublicReplication `protobuf:"bytes,9,opt,name=public_replication,json=publicReplication,proto3" json:"public_replication,omitempty"`
// The name of the audio card.
CardName string `protobuf:"bytes,1,opt,name=card_name,json=cardName,proto3" json:"card_name,omitempty"`
// Path to the CRAS card configuration file.
// See
// https://chromium.googlesource.com/chromiumos/third_party/adhd/+/HEAD/cras/#card-configuration.
CardConfigFile string `protobuf:"bytes,2,opt,name=card_config_file,json=cardConfigFile,proto3" json:"card_config_file,omitempty"`
// Path to the dsp.ini configuration file.
DspFile string `protobuf:"bytes,3,opt,name=dsp_file,json=dspFile,proto3" json:"dsp_file,omitempty"`
// Path to the UCM file. Note that this is the UCM verb file (e.g.
// "HiFi.conf"), NOT the UCM master file (e.g. <sound card name>.conf).
UcmFile string `protobuf:"bytes,4,opt,name=ucm_file,json=ucmFile,proto3" json:"ucm_file,omitempty"`
// Path to the UCM master file (e.g. <sound card name>.conf).
UcmMasterFile string `protobuf:"bytes,5,opt,name=ucm_master_file,json=ucmMasterFile,proto3" json:"ucm_master_file,omitempty"`
// UCM suffix, if any.
UcmSuffix string `protobuf:"bytes,6,opt,name=ucm_suffix,json=ucmSuffix,proto3" json:"ucm_suffix,omitempty"`
// Path to the ALSA module config file.
ModuleFile string `protobuf:"bytes,7,opt,name=module_file,json=moduleFile,proto3" json:"module_file,omitempty"`
// Path to the boards specific settings board.ini file.
BoardFile string `protobuf:"bytes,8,opt,name=board_file,json=boardFile,proto3" json:"board_file,omitempty"`
// Path to the sound_card_init config (e.g. <card_id>.yaml).
SoundCardInitFile string `protobuf:"bytes,10,opt,name=sound_card_init_file,json=soundCardInitFile,proto3" json:"sound_card_init_file,omitempty"`
// The short name of sound card.
CardId string `protobuf:"bytes,11,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
// The custom project name of cras path
CrasCustomName string `protobuf:"bytes,12,opt,name=cras_custom_name,json=crasCustomName,proto3" json:"cras_custom_name,omitempty"`
}
func (x *AudioConfig) Reset() {
*x = AudioConfig{}
if protoimpl.UnsafeEnabled {
mi := &file_chromiumos_config_api_software_audio_config_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AudioConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AudioConfig) ProtoMessage() {}
func (x *AudioConfig) ProtoReflect() protoreflect.Message {
mi := &file_chromiumos_config_api_software_audio_config_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AudioConfig.ProtoReflect.Descriptor instead.
func (*AudioConfig) Descriptor() ([]byte, []int) {
return file_chromiumos_config_api_software_audio_config_proto_rawDescGZIP(), []int{0}
}
func (x *AudioConfig) GetPublicReplication() *public_replication.PublicReplication {
if x != nil {
return x.PublicReplication
}
return nil
}
func (x *AudioConfig) GetCardName() string {
if x != nil {
return x.CardName
}
return ""
}
func (x *AudioConfig) GetCardConfigFile() string {
if x != nil {
return x.CardConfigFile
}
return ""
}
func (x *AudioConfig) GetDspFile() string {
if x != nil {
return x.DspFile
}
return ""
}
func (x *AudioConfig) GetUcmFile() string {
if x != nil {
return x.UcmFile
}
return ""
}
func (x *AudioConfig) GetUcmMasterFile() string {
if x != nil {
return x.UcmMasterFile
}
return ""
}
func (x *AudioConfig) GetUcmSuffix() string {
if x != nil {
return x.UcmSuffix
}
return ""
}
func (x *AudioConfig) GetModuleFile() string {
if x != nil {
return x.ModuleFile
}
return ""
}
func (x *AudioConfig) GetBoardFile() string {
if x != nil {
return x.BoardFile
}
return ""
}
func (x *AudioConfig) GetSoundCardInitFile() string {
if x != nil {
return x.SoundCardInitFile
}
return ""
}
func (x *AudioConfig) GetCardId() string {
if x != nil {
return x.CardId
}
return ""
}
func (x *AudioConfig) GetCrasCustomName() string {
if x != nil {
return x.CrasCustomName
}
return ""
}
var File_chromiumos_config_api_software_audio_config_proto protoreflect.FileDescriptor
var file_chromiumos_config_api_software_audio_config_proto_rawDesc = []byte{
0x0a, 0x31, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e,
0x66, 0x69, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x6f, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65,
0x2f, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e,
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x6f, 0x66, 0x74, 0x77,
0x61, 0x72, 0x65, 0x1a, 0x3d, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f,
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x72, 0x65,
0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x22, 0xed, 0x03, 0x0a, 0x0b, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x66,
0x69, 0x67, 0x12, 0x66, 0x0a, 0x12, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x70,
0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37,
0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
0x69, 0x67, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x52, 0x65, 0x70, 0x6c,
0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x52,
0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x61,
0x72, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63,
0x61, 0x72, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x61, 0x72, 0x64, 0x5f,
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0e, 0x63, 0x61, 0x72, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c,
0x65, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x73, 0x70, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x73, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x19, 0x0a, 0x08,
0x75, 0x63, 0x6d, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x75, 0x63, 0x6d, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x75, 0x63, 0x6d, 0x5f, 0x6d,
0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0d, 0x75, 0x63, 0x6d, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x46, 0x69, 0x6c, 0x65, 0x12,
0x1d, 0x0a, 0x0a, 0x75, 0x63, 0x6d, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x06, 0x20,
0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x63, 0x6d, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x1f,
0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x07, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12,
0x1d, 0x0a, 0x0a, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x08, 0x20,
0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x2f,
0x0a, 0x14, 0x73, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x69,
0x74, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x73, 0x6f,
0x75, 0x6e, 0x64, 0x43, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x12,
0x17, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09,
0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x72, 0x61, 0x73,
0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0e, 0x63, 0x72, 0x61, 0x73, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4e, 0x61,
0x6d, 0x65, 0x42, 0x33, 0x5a, 0x31, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75,
0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73,
0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73,
0x6f, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_chromiumos_config_api_software_audio_config_proto_rawDescOnce sync.Once
file_chromiumos_config_api_software_audio_config_proto_rawDescData = file_chromiumos_config_api_software_audio_config_proto_rawDesc
)
func file_chromiumos_config_api_software_audio_config_proto_rawDescGZIP() []byte {
file_chromiumos_config_api_software_audio_config_proto_rawDescOnce.Do(func() {
file_chromiumos_config_api_software_audio_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromiumos_config_api_software_audio_config_proto_rawDescData)
})
return file_chromiumos_config_api_software_audio_config_proto_rawDescData
}
var file_chromiumos_config_api_software_audio_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_chromiumos_config_api_software_audio_config_proto_goTypes = []interface{}{
(*AudioConfig)(nil), // 0: chromiumos.config.api.software.AudioConfig
(*public_replication.PublicReplication)(nil), // 1: chromiumos.config.public_replication.PublicReplication
}
var file_chromiumos_config_api_software_audio_config_proto_depIdxs = []int32{
1, // 0: chromiumos.config.api.software.AudioConfig.public_replication:type_name -> chromiumos.config.public_replication.PublicReplication
1, // [1:1] is the sub-list for method output_type
1, // [1:1] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
}
func init() { file_chromiumos_config_api_software_audio_config_proto_init() }
func file_chromiumos_config_api_software_audio_config_proto_init() {
if File_chromiumos_config_api_software_audio_config_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_chromiumos_config_api_software_audio_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AudioConfig); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_chromiumos_config_api_software_audio_config_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_chromiumos_config_api_software_audio_config_proto_goTypes,
DependencyIndexes: file_chromiumos_config_api_software_audio_config_proto_depIdxs,
MessageInfos: file_chromiumos_config_api_software_audio_config_proto_msgTypes,
}.Build()
File_chromiumos_config_api_software_audio_config_proto = out.File
file_chromiumos_config_api_software_audio_config_proto_rawDesc = nil
file_chromiumos_config_api_software_audio_config_proto_goTypes = nil
file_chromiumos_config_api_software_audio_config_proto_depIdxs = nil
}