YaST2 Developers Documentation: Sound



functions
files
intro

Sound

ui.ycp
user interface functions for sound module

Imports

  • Joystick
  • Label
  • Popup
  • Sound
  • Wizard

Local Functions

local ReallyAbort () -> boolean

dialog to be displayed when user presses 'Abort' button

Return value:
yes/no

local AutoconfDlg (string name, string cname, integer cpos, boolean has_joy) -> term

quick config dialog widget

Parameters:
name card model
cname alias for modules conf
cpos position of the card
has_joy If true checkbox for joystick configuration is added
Return value:
with widget

local DisplayName (string name, string cname, integer cpos, integer flags, boolean has_joy) -> map

DisplayName

Parameters:
name card model
cname sound card alias for modules conf
cpos cards position
flags enable/disable radiobuttons accordingly
has_joy sound card supports joystick
Return value:
symbol of next dialog

local QuickconfDlg (string name, string cname, integer cpos, boolean has_joy) -> term

quick conf dialog widget

Parameters:
name card model
cname card alias for module.conf
cpos card position
has_joy If true checkbox for joystick configuration is added
Return value:
widget

local quickConfig (string name, string cname, integer cpos, boolean has_joy) -> map

quick config dialog (is shown when only one card has been detected0

Parameters:
name card model
cname alias for modules conf
cpos position of the soud card
has_joy set to true if configured card supports joystick
Return value:
symbol for next dialog

local WhichDlgCon (list nc) -> term

dialog to be displayed in WhichDialog function

Parameters:
nc list of not configured cards
Return value:
card type selection dialog contents
See:
WhichDialog

local ComplexDlgCon (list cc, boolean start_alsa_seq, boolean show_font_but) -> term

widget for complex dialog

Parameters:
cc list of configured cards
start_alsa_seq as previous
show_font_but show button for sound fonts installation
Return value:
widget

local WhichDialog (list<string> cards) -> map

displays a dialog that offer to configure detected or manually selected card

Parameters:
cards detected cards
Return value:
`auto/`manual

YaST2 Developers Documentation