Your message dated Wed, 14 Nov 2007 22:02:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#450805: fixed in alsa-tools 1.0.15-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: alsa-tools-gui
Version: 1.0.13-1
Severity: normal
Tags: patch


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.

--- alsa-tools-1.0.13/hdspmixer/src/HDSPMixerCardSelector.h.orig        
2007-04-16 19:49:22.000000000 +0200
+++ alsa-tools-1.0.13/hdspmixer/src/HDSPMixerCardSelector.h     2007-04-16 
19:50:51.000000000 +0200
@@ -37,6 +37,7 @@
     int card;
     HDSPMixerWindow *basew;
     HDSPMixerCardSelector(int x, int y, int w, int h, int card);
+    void ActivateCard (int i);
     void draw();
     int handle(int e);
 };
--- alsa-tools-1.0.13/hdspmixer/src/HDSPMixerCardSelector.cxx.orig      
2007-04-16 19:49:23.000000000 +0200
+++ alsa-tools-1.0.13/hdspmixer/src/HDSPMixerCardSelector.cxx   2007-04-16 
19:53:45.000000000 +0200
@@ -45,27 +45,25 @@
     }    
 }
 
+void HDSPMixerCardSelector::ActivateCard (int i)
+{
+  card = i + 1;
+  basew->current_card = i;
+  basew->cards[i]->setMode (basew->cards[i]->getSpeed ());
+  redraw ();
+}
+
 int HDSPMixerCardSelector::handle(int e)
 {
     int xpos = Fl::event_x()-x();
     switch (e) {
        case FL_PUSH:
-           if (xpos < 13 && card != 1) {
-                   card = 1;
-                   basew->current_card = 0;
-                   basew->cards[0]->setMode(basew->cards[0]->getSpeed());
-                   redraw();
-           } else if (xpos >= 24 && xpos < 37 && card != 2 && basew->cards[1] 
!= NULL) {
-                   card = 2;
-                   basew->current_card = 1;
-                   basew->cards[1]->setMode(basew->cards[1]->getSpeed());
-                   redraw();
-           } else if (xpos >= 48 && card != 3 && basew->cards[2] != NULL) {
-                   card = 3;
-                   basew->current_card = 2;
-                   basew->cards[2]->setMode(basew->cards[2]->getSpeed());
-                   redraw();
-           }
+           if (xpos < 13 && card != 1)
+             ActivateCard (0);
+           else if (xpos >= 24 && xpos < 37 && card != 2 && basew->cards[1] != 
NULL)
+             ActivateCard (1);
+           else if (xpos >= 48 && card != 3 && basew->cards[2] != NULL)
+             ActivateCard (2);
            return 1;
        default:
            return Fl_Widget::handle(e);
--- alsa-tools-1.0.13/hdspmixer/src/HDSPMixerWindow.cxx.orig    2007-04-16 
19:41:21.000000000 +0200
+++ alsa-tools-1.0.13/hdspmixer/src/HDSPMixerWindow.cxx 2007-04-16 
19:55:13.000000000 +0200
@@ -700,6 +701,9 @@
     Fl::atclose = atclose_cb;
     Fl::add_handler(handler_cb);
     Fl::add_timeout(0.030, readregisters_cb, this);
+    i = 0;
+    while (cards[i] != NULL)
+      inputs->buttons->cardselector->ActivateCard (i++);
 }
 
 int HDSPMixerWindow::handle(int e) 



--- End Message ---
--- Begin Message ---
Source: alsa-tools
Source-Version: 1.0.15-2

We believe that the bug you reported is fixed in the latest version of
alsa-tools, which is due to be installed in the Debian FTP archive:

alsa-firmware-loaders_1.0.15-2_i386.deb
  to pool/contrib/a/alsa-tools/alsa-firmware-loaders_1.0.15-2_i386.deb
alsa-tools-gui_1.0.15-2_i386.deb
  to pool/main/a/alsa-tools/alsa-tools-gui_1.0.15-2_i386.deb
alsa-tools_1.0.15-2.diff.gz
  to pool/main/a/alsa-tools/alsa-tools_1.0.15-2.diff.gz
alsa-tools_1.0.15-2.dsc
  to pool/main/a/alsa-tools/alsa-tools_1.0.15-2.dsc
alsa-tools_1.0.15-2_i386.deb
  to pool/main/a/alsa-tools/alsa-tools_1.0.15-2_i386.deb
ld10k1_1.0.15-2_i386.deb
  to pool/main/a/alsa-tools/ld10k1_1.0.15-2_i386.deb
liblo10k1-0_1.0.15-2_i386.deb
  to pool/main/a/alsa-tools/liblo10k1-0_1.0.15-2_i386.deb
liblo10k1-dev_1.0.15-2_i386.deb
  to pool/main/a/alsa-tools/liblo10k1-dev_1.0.15-2_i386.deb
qlo10k1_1.0.15-2_i386.deb
  to pool/main/a/alsa-tools/qlo10k1_1.0.15-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jordi Mallach <[EMAIL PROTECTED]> (supplier of updated alsa-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 14 Nov 2007 01:02:36 +0100
Source: alsa-tools
Binary: liblo10k1-dev alsa-tools alsa-tools-gui ld10k1 liblo10k1-0 qlo10k1 
alsa-firmware-loaders
Architecture: source i386
Version: 1.0.15-2
Distribution: unstable
Urgency: low
Maintainer: Jordi Mallach <[EMAIL PROTECTED]>
Changed-By: Jordi Mallach <[EMAIL PROTECTED]>
Description: 
 alsa-firmware-loaders - ALSA software loaders for specific hardware
 alsa-tools - Console based ALSA utilities for specific hardware
 alsa-tools-gui - GUI based ALSA utilities for specific hardware
 ld10k1     - ALSA emu10k1/2 patch loader
 liblo10k1-0 - ALSA emu10k1/2 patch-loader library
 liblo10k1-dev - ALSA emu10k1/2 patch-loader library development files
 qlo10k1    - ALSA ld10k1 utility
Closes: 450805
Changes: 
 alsa-tools (1.0.15-2) unstable; urgency=low
 .
   [ Elimar Riesebieter ]
   * Added hammerfall.patch, which fixes initialisation of all HDSP cards
     with hdspmixer (thanks, Frank Heckenbach). (closes: #450805)
Files: 
 cf527206db2c362559b935d355d45491 1221 sound extra alsa-tools_1.0.15-2.dsc
 9be5ac801b16c1f600d46209c7448a63 23504 sound extra alsa-tools_1.0.15-2.diff.gz
 9fc325abe942d819bfb98bddefadf2e4 81846 sound extra alsa-tools_1.0.15-2_i386.deb
 e89e6002d18ac513ba221c9c0a3af516 258528 sound extra 
alsa-tools-gui_1.0.15-2_i386.deb
 cc170abde3d6c64154100d4dae18ae16 30280 contrib/sound extra 
alsa-firmware-loaders_1.0.15-2_i386.deb
 e240ba53333e16dd0d842fb8cd65a0b4 103530 sound extra ld10k1_1.0.15-2_i386.deb
 2a775f12cff3096fe6b6d5ef6d15c9f5 29368 libs extra liblo10k1-0_1.0.15-2_i386.deb
 7a35a1a154eb9588411b199880c97531 35260 devel extra 
liblo10k1-dev_1.0.15-2_i386.deb
 2611756786a872297328ce8e94a9a759 136090 sound extra qlo10k1_1.0.15-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHO24RJYSUupF6Il4RAtz2AJ0WKOR06UWg+QErHPaVAsU4UlT6fwCZAdEc
xQJ1aek1F3RVS6rMhCzeyB0=
=gEjJ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to