YaST2 Developers Documentation: Sound

Sound

sound.ycp
  • Dan Vesely
  • Dan Meszaros
  • Jiri Suchomel

This module has an unstable interface.

Installation of the sound card. If the sound card was not auto-detected ask user.

Imports

  • CommandLine
  • Directory
  • Joystick
  • Mode
  • Popup
  • PulseAudio
  • Report
  • RichText
  • Sound

Includes

  • sound/wizards.ycp

Local Functions

local SoundSummaryHandler (map options) -> boolean

Print summary of basic options

Parameters:
options
Return value:
false
local SoundRead () -> boolean

Wrapper function for reading the settings (used by cmd-line)

Return value:
success
local SoundWrite () -> boolean

Wrapper function for writing the settings (used by cmd-line)

Return value:
success
local AddCardHandler (map options) -> boolean

Handler for adding new card

Parameters:
options parameters on command line
Return value:
success
local RemoveCardHandler (map options) -> boolean

Handler for removing the sound card

Parameters:
options parameters on command line
Return value:
success
local TestCardHandler (map options) -> boolean

Handler for playing the test sound

Parameters:
options parameters on command line
Return value:
false (no write)
local ShowCardHandler (map options) -> boolean

Handler for showing sound card information

Parameters:
options parameters on command line
Return value:
false (no write)
local SetParametersHandler (map options) -> boolean

Handler for setting the paramerer values of sound card

Parameters:
options parameters on command line
Return value:
success
local SetVolumeHandler (map options) -> boolean

Handler for setting the volume of sound card

Parameters:
options parameters on command line
Return value:
success
local ListChannelsHandler (map options) -> boolean

Handler for listing available channels

Parameters:
options
local ListModulesHandler (map options) -> boolean

Handler for listing available kernel modules for sound

Parameters:
options