]> git.alsa-project.org Git - alsa-tools.git/commit
hdspmixer - Automatic initialization of secondary cards
authorTakashi Iwai <tiwai@suse.de>
Wed, 14 Nov 2007 12:04:34 +0000 (13:04 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 14 Nov 2007 12:04:34 +0000 (13:04 +0100)
commitd6d0775e8c259a264ffaa60392e307c2ba071e99
tree60d021d80652bffc2b50fc89dfb2aca3850183b0
parente978fc745e612c57d65402da5e7d33a2b79e700f
hdspmixer - Automatic initialization of secondary cards

From debian bug#450805:

We are using Hammerfall DSP cards. After booting, their audio output
remains silent until hdspmixer is started. No interaction in the GUI
of hdspmixer is necessary to unmute the first HDSP card; however,
further cards are only unmuted when activating the respective GUI
page ("2", "3"). Apparently, hdspmixer does some automatic
initialization of the card when activating the page.

Since we'd like to have a fully automatic startup, the following
patch activates the page for each existing card on startup, thereby
initializing them. There are surely more elegant solutions, but this
patch is tested and solves the problem for us.
hdspmixer/src/HDSPMixerCardSelector.cxx
hdspmixer/src/HDSPMixerCardSelector.h
hdspmixer/src/HDSPMixerWindow.cxx