Sound
|
write_routines.ycp
|
API for writings sound configuration
|
|
|
Imports
Includes
Local Functions
|
|
|
local createAliasComment (string model, string uniq_key) -> string
|
|
create special comment for given model
- Parameters:
model |
card description |
uniq_key |
unique key |
- Return value:
local SaveOneModulesEntry (map entry) -> boolean
|
|
Saves one '/etc/modules.conf' entry
- Parameters:
- Return value:
local SaveModulesOptions (list save_info) -> void
|
|
saves modules options. this function has to collect parameters that use
different cards that use single module and create a coma separated list of values
- Parameters:
local removeOldEntries (list als) -> void
|
|
removeOldAliases
- Parameters:
als |
list with old aliases |
local RemoveOldConfiguration () -> void
|
|
Remove sound configuration from /etc/modprobe.conf
local SaveModulesEntry (list save_info, list system) -> map
|
|
Saves all '/etc/modprobe.d/sound' entries
- Parameters:
save_info |
cards save info |
system |
sytem dependent part |
- Return value:
|
return struct: $["return": boolean, "err_msg": string] |
local SaveVolume () -> boolean
|
|
Save volume (for alsa it's alsactl store
- Return value:
local SaveRCValues (map rc) -> string
|
|
saves rc values that are stored in map
- Parameters:
rc |
map "variable" : "value", .... |
- Return value:
|