YaST2 Developers Documentation: Sound

Sound

mixer.ycp
advanced dialog for mixer setting
  • Dan Meszaros
  • String corrections by Christian Steinruecken , 2001/08/01

This module has an unstable interface.

Imports

  • Label
  • Sound
  • Wizard

Includes

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

Local Functions

local translateChannelName (string name) -> string

Translate channel name

Parameters:
name untranslated channel name
Return value:
translated name
local volElement (string channel_id, integer value, boolean spec) -> term

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

Parameters:
channel_id
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