Summary: | Notification volume control does not work with pulseaudio | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Phonon | Reporter: | Todd <toddrme2178> |
Component: | general | Assignee: | Harald Sitter <sitter> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | anarsoul, colin, myriam, sitter |
Priority: | NOR | ||
Version: | 4.6.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Todd
2010-10-25 19:35:15 UTC
KNotify just uses Phonon::AudioOutput::setVolume() in the 0.0 ... 0.1 range, so it sounds like a Phonon bug. Sorry, I meant 0.0 (0%)... 1.0 (100%) range. Does this actually work without PulseAudio? I do not seem to get a call to setVolume in AudioOutput::setVolume at all in Phonon. Yes this is a bit busted and I think I noticed this before (there is also a leak when using external players). I've actually been experimenting with this a bit of late and have nuked out that control in the GUI (the "Event Sounds" slider in kmix's Playback Streams tab effectively does that job for both KDE and Gtk event sounds. In my experimental work, I've replaced Phonon with libcanberra in knotify - the only two options to play sound are "No Sound" and "Use Canberra". It works fine with ALSA and PulseAudio and can (eventually) even do neat things like support Sound Themes (FDO specification similar to the Icon Theme) and handle positional event sounds (e.g. sounds generated near the left of the screen come out mostly from the left speaker - although this requires further support in knotify to get that positional metadata passed through). It also takes care of sound sample caching for very quick playback (although it'll still be subject to DBus delays due to how knotify works). In order of this to be universally accepted (there will no doubt be people who disagree with this approach!), I'll have to write a Phonon backend for libcanberra. This will allow the whole system to still work mostly as currently but with an added layer of abstraction in it when used on a non-PA or non-Linux system. Personally I think this is OK for the potential benefits libcanberra brings. It's already a dep for the Speaker Setup tab, so shouldn't be too much of an added burden. I've only done two patches so far... they are here: http://colin.guthr.ie/git/kdebase-runtime/log/?h=canberra It's based on kdebase-runtime from svn but still applies I believe. Will update to trunk/git master soon. Well, that is all nice but does not change the fact that I cannot trace the bug at hand back to phonon :) Is this still an issue with Phonon 4.6 and a recent KDE 4.10.x? Yes, it is. Eh eh eh. Revelations! could be bug 321172 and/or 321288 (more likely former though). And we have a winner. *** This bug has been marked as a duplicate of bug 321172 *** |