YaST2 Developers Documentation: Sound



functions
files
intro

Sound

mixer.ycp
advanced dialog for mixer setting

Imports

  • Label
  • Sound
  • Wizard

Includes

  • sound/ui.ycp
  • sound/volume_routines.ycp

Local Functions

local volElement (string label, integer value, boolean spec) -> term

returns intfield (if we are running in ncurses) or slider (for qt)

Parameters:
label label for slider
value initial value
spec true-slider false-intfield
Return value:
widget

local mixerWidget (list channels) -> term

creates a mixer widget with channels obtained from 1st param

Parameters:
channels channels to be shown
Return value:
widget

local mixerDialog (integer card_id) -> map

shows mixer dialog for respective card

Parameters:
card_id card id
Return value:
result

YaST2 Developers Documentation