| Summary: | sound for system notification doesn't work if paramter of volume doesn't be at max | ||
|---|---|---|---|
| Product: | [Unmaintained] kcontrol | Reporter: | Patrick Rutka <patrick.rutka> |
| Component: | kcmknotify | Assignee: | Daniel Molkentin <molkentin> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | alexandre.sidorenko |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Unlisted Binaries | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Mentioned patch | ||
|
Description
Patrick Rutka
2003-07-19 23:11:17 UTC
Works just fine here and for others I asked. Might be a problem with your hardware or a distribution issue. I can confirm the bug in 3.4rc1. This has been confirmed by another user in this Gentoo Forum thread : http://forums.gentoo.org/viewtopic-t-302625.html. My hardware: Audigy Gamer (emu10k1) Doesn't work either for less than two days old CVS! My sound output is through alsa drivers for via on-board chip.. I am seeing the same behaviour on KDE 3.4, SuSE RPMs. Just to make it clearer: The volume that must be set to 100% is the one in the Player Settings dialog in the System Notifications control centre module. Could someone with a thicker skin than I reopen this bug? Same here, also using SuSE RPMs and KDE 3.4. I even recompiled arts, but to no avail. Same here on Gentoo... see above mentioned thread. I have the same problem with any volume. There are only sounds for k3b! I recompiled the all KDE packages myself from the source on FC3. *** Bug 99931 has been marked as a duplicate of this bug. *** Ok, I can see enough evidence that this bug still exists - reopening. *** This bug has been confirmed by popular vote. *** Hello ! I looked into the code segment in kdelibs/arts/knotify/knotify.cpp which connects the soundsource to a volume control if volume != 100%. I compared it with similar code in juk/alsaplayer, changed knotify.cpp to look similar than that and - voila! - it works ! (at least for me). I will attach a patch (it will apply for 3.4-branch and trunk). Please test it, and if it's okay, commit it. (IMHO it should be commited in branch and trunk as well). thx, Thomas Schwarzgruber Created attachment 11212 [details]
Mentioned patch
I created it with svn diff.
SVN commit 420839 by mkretz:
BUG: 61438
apply proposed patch that removes the _node.start/stop calls which
seem not to be needed at this point (my aRts knowledge is fading :-( )
M +0 -2 knotify.cpp
--- trunk/KDE/kdelibs/arts/knotify/knotify.cpp #420838:420839
@@ -479,13 +479,11 @@
volumeControl.scaleFactor( d->volume/100.0 );
ap.stop();
- player._node()->stop();
Arts::disconnect( player, "left", ap, "left" );
Arts::disconnect( player, "right", ap, "right" );
ap.start();
volumeControl.start();
- player._node()->start();
Arts::connect(player,"left",volumeControl,"inleft");
Arts::connect(player,"right",volumeControl,"inright");
SVN commit 420841 by mkretz:
backport to 3.4 branch
CCBUG: 61438
apply proposed patch that removes the _node.start/stop calls which
seem not to be needed at this point (my aRts knowledge is fading :-( )
M +0 -2 knotify.cpp
--- branches/KDE/3.4/kdelibs/arts/knotify/knotify.cpp #420840:420841
@@ -479,13 +479,11 @@
volumeControl.scaleFactor( d->volume/100.0 );
ap.stop();
- player._node()->stop();
Arts::disconnect( player, "left", ap, "left" );
Arts::disconnect( player, "right", ap, "right" );
ap.start();
volumeControl.start();
- player._node()->start();
Arts::connect(player,"left",volumeControl,"inleft");
Arts::connect(player,"right",volumeControl,"inright");
|