YaST2 Developers Documentation: Sound

Sound

sound_complex
sound complex dialog
  • Dan Vesely
  • Dan Meszaros
  • Ladislav Slezak
  • String corrections by Christian Steinruecken , 2001/08/01

This module has an unstable interface.

Imports

  • Label
  • Mode
  • Popup
  • PulseAudio
  • Report
  • Sound
  • Wizard
  • WizardHW

Includes

  • sound/mixer.ycp
  • sound/options.ycp
  • sound/volume.ycp
  • sound/volume_routines.ycp

Local Functions

local createHWTable () -> list<map<string,any> >

creates summary table with card labels and thier states (running/not running/dissappeared)

Return value:
table contents
local enableButtons (boolean val) -> void

function for enabling relevant controls in complex dialog

Parameters:
val boolean enable/disable
local SetPrimaryCard (integer card_index, integer alsa_index) -> void

Configure the selected sound card as the primary (default) card.

Parameters:
card_index index of the selected card in the internal structure
alsa_index index of the selected card in ALSA
local HardwareDialog () -> map

A dialog showing the detected cards and allowing to configure them.

Return value:
The value of the resulting UserInput.
local sound_complex () -> map

just calls ComplexDialog

Return value:
passed from ComplexDialog