mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
This commit allows to define private alsa-lib's configuration. When
the configuration is present, the device values ("PlaybackCTL",
"CaptureCTL", "PlaybackMixer", "CaptureMixer", "CapturePCM")
are prefixed with '_ucmHEXA.' string where HEXA is replaced by the
unique hexadecimal number identifying the opened ucm manager handle.
Syntax 4
LibraryConfig.a_label.SubstiConfig {
# substituted library configuration like:
usr_share_dir "${ConfLibDir}"
}
LibraryConfig.b_label.Config {
# non-substituted library configuration like:
usr_share_dir "/usr/share/alsa"
}
The File counterparts:
LibraryConfig.c_label.SubstiFile "/some/path"
LibraryConfig.d_label.File "/some/path"
Note that for files the contents is substituted on the request,
but the file name is always substituted (useful for ${ConfDir} etc.).
The private configuration is not saved or preserved. It's life time
belongs to the opened ucm manager handle.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
|
||
|---|---|---|
| .. | ||
| sound | ||
| alisp.h | ||
| alsa-symbols.h | ||
| aserver.h | ||
| asoundef.h | ||
| asoundlib-head.h | ||
| asoundlib-tail.h | ||
| bswap.h | ||
| conf.h | ||
| control.h | ||
| control_external.h | ||
| control_plugin.h | ||
| error.h | ||
| global.h | ||
| hwdep.h | ||
| input.h | ||
| list.h | ||
| local.h | ||
| Makefile.am | ||
| mixer.h | ||
| mixer_abst.h | ||
| output.h | ||
| pcm.h | ||
| pcm_external.h | ||
| pcm_extplug.h | ||
| pcm_ioplug.h | ||
| pcm_old.h | ||
| pcm_plugin.h | ||
| pcm_rate.h | ||
| rawmidi.h | ||
| search.h | ||
| seq.h | ||
| seq_event.h | ||
| seq_midi_event.h | ||
| seqmid.h | ||
| sys.h | ||
| timer.h | ||
| topology.h | ||
| type_compat.h | ||
| use-case.h | ||