YaST2 Developers Documentation: Sound

Sound

manual.ycp
Module for manual selection of sound card from the database

This module has an unstable interface.

Imports

  • Label
  • Sound
  • Wizard

Includes

  • sound/routines.ycp
  • sound/ui.ycp

Local Functions

local get_module_by_cardname (string cardname) -> string

returns module name for a given card model

Parameters:
cardname string card name
Return value:
module name
local get_vendor_by_cardname (string cardname) -> string

returns vendor name for a given card model

Parameters:
cardname string card name
Return value:
vendor name
local get_vendor_names () -> list

returns list of card vendors

Return value:
of items with vendors (into table)
local update_manual_card (map card_map) -> map

Update the settings for manualy choosed card: get the default options and check if it tha card wasn't detected

Parameters:
card_map the current card (map with at least "module" entry)
Return value:
updated map of current card
local ManualDialog () -> map

Dialog for manual adding the sound card (shows the lists of Vendors/Drivers and Models)

Return value:
result
local sound_manual () -> map

just calls ManualDialog

Return value:
passed result from ManualDialog