
functions
files
intro
|
|
One sound card setup wizard.
Imports
Includes
- sound/options.ycp
- sound/routines.ycp
- sound/ui.ycp
- sound/volume.ycp
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:
local _options (integer card_id) -> symbol
|
|
wrapper function for running Options dialog (during expert configuration)
- Parameters:
local _quick (integer card_id, boolean finish, list save_info) -> symbol
|
|
wrapper function for quick configuration (just modprobe)
- Parameters:
local _volume (integer card_id, boolean finish, list save_info) -> symbol
|
|
wrapper function for normal configuration (modprobe + volume setting)
- Parameters:
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 |
|