Summary: | KAlarm fade time not honored/working | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Phonon | Reporter: | A. Mosteo <alejandro> |
Component: | Xine backend | Assignee: | Harald Sitter <sitter> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | djarvie, martin.sandsmark, myriam, vamp898 |
Priority: | NOR | ||
Version: | 4.4.1 (KDE 4.4.4) | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
A. Mosteo
2010-01-20 00:51:56 UTC
Did you set up the fade to increase or to decrease the volume from its initial level? I have tried both, although my original intention was to have a fade in (for a wake-up alarm). I tried from loud to soft to ascertain that indeed initially the volumen is set to the fade setting, and it quickly drops to the final setting. My settings have roughly been from 0% to 20% and from 70% to 20%. It works correctly on my system. I wonder if Kubuntu uses the Qt version of the Phonon library, or whether it uses the KDE version. The KDE version works far better with KDE applications, and is more up to date. Can you please check what your other multimedia settings in System Settings are. Hover the mouse over the HDA Intel device and report what devices are listed for it (in order). Please check both Notifications and Music in case they are different. Go to the Backend tab, and report which backends are listed (in order). Hover reports (in both notifications and music): 1. ALSA: x-phonon: CARD=0,DEV=0 2. ALSA: plughw: CARD=0,DEV=0 3. OSS: /dev/audio 4. OSS: /dev/dsp Backends tab shows only Xine For me it work neither and so the app is relative useless (i dont want to get a heart attack when i have to wake up) KDE 4.4.1 A fix in KDE 4.4.3 may have affected this bug. Can the reporters please say whether KDE 4.4.3 or later has improved things. (In reply to comment #7) > A fix in KDE 4.4.3 may have affected this bug. Can the reporters please say > whether KDE 4.4.3 or later has improved things. Still does not work Qt: 4.6.2 KDE: 4.4.3 (KDE 4.4.3) KAlarm: 2.4.5 No improvement here either. uname: 2.6.32-22-generic #35-Ubuntu SMP Tue Jun 1 14:17:36 UTC 2010 i686 GNU/Linux Kalarm: 2.4.6 KDE: 4.4.4 Qt: 4.6.2 Assigning to Phonon, because audio fade if outside KAlarm's control once the sound playback has been kicked off. The code to set up playback and fade is in kdepim/kalarm/messagewin.cpp, in function AudioThread::run(): Phonon::AudioOutput* output = new Phonon::AudioOutput(Phonon::NotificationCategory, mAudioObject); mPath = Phonon::createPath(mAudioObject, output); if (mVolume >= 0 || mFadeVolume >= 0) { float vol = (mVolume >= 0) ? mVolume : output->volume(); float maxvol = qMax(vol, mFadeVolume); output->setVolume(maxvol); if (mFadeVolume >= 0 && mFadeSeconds > 0) { Phonon::VolumeFaderEffect* fader = new Phonon::VolumeFaderEffect(mAudioObject); fader->setVolume(mFadeVolume / maxvol); fader->fadeTo(mVolume / maxvol, mFadeSeconds * 1000); mPath.insertEffect(fader); } } Which Phonon backend do you use? Just tested: with Xine 0.2.60 it goes (apparently) straight to the final volume. with Gstreamer 0.1 it works as intended. I'm pretty sure that first time I reported this there was only Xine backend... I think that Ubuntu only had xine for some time after deploying phonon. (Firefox gave me a blank page after submitting, sorry if this is a duplicate post). Thank you for your feedback. Ubuntu by default only installs one of the backends, depending if you use KDE or Gnome, but both backends have always been in the repositories. Im using the XINE Backend and in case that it works the best i really dont want to change it No, Xine is OK, it gives better playback results so far, but there is not much development going on this backend right now, since we depend on Xine upstream to fix some bugs. with phonon-vlc it also doesn´t work... Please use another backend, the xine backend is deprecated as the upstream development is stalled. You can choose between the gstreamer backend or the vlc backend, both are actively developed and maintained. |