Sound |
card_wizard.ycp |
|
|
This module has an unstable interface. |
One sound card setup wizard.
Imports
Includes
Local Functions |
local
_showName (integer card_id, integer flags)
->
symbol
wrapper function for running first card config dialog (There will be shown possibilities for next configuration steps (quick/normal/expert)
- Parameters:
-
card_id flags
local
_options (integer card_id)
->
symbol
wrapper function for running Options dialog (during expert configuration)
- Parameters:
-
card_id
local
_quick (integer card_id, boolean finish, list save_info)
->
symbol
wrapper function for quick configuration (just modprobe)
- Parameters:
-
card_id finish save_info
local
_volume (integer card_id, boolean finish, list save_info)
->
symbol
wrapper function for normal configuration (modprobe + volume setting)
- Parameters:
-
card_id finish save_info
local
OneCardWizard (map card_entry, integer card_id, integer flags, boolean finish, list save_info)
->
map
Wizard steps: 1. displayname
2. modprobe and volume settings
- Parameters:
-
card_entry the card to configure card_id index of configured car flags defines which radioboxes has to be enabled (0x1 - first, 0x2 second, 0x4 third...) finish true if no complex dialog is to be called (then the popup "Config will be saved.." will appear) save_info
- Return value:
-
with save info, as required by sound_write for one cards