Version: (using Devel) OS: Linux Installed from: Compiled sources When assigning short audio notifications via knotify, they are being cut or not played at all. A problematic file: --- Opening audio decoder: [pcm] Uncompressed PCM audio decoder AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200) Selected audio codec: [pcm] afm: pcm (Uncompressed PCM) --- Steps to reproduce: - assign a short wav file to an event (will attach one for testing) - click play This is not a phonon or phonon backend issue, since it plays fine in amarok 2.x
Created attachment 29488 [details] short wav file (from ubuntu sounds)
*** Bug 179542 has been marked as a duplicate of this bug. ***
@Matthias: is a known issue that Phonon have problems with short wav files? (I think I've read something)
There must have been a report about it but I can't find it atm. Anyway, the bug was at that time fixed in libxine: all short sounds played till the end. xine 1.1.9 I think was the release. Since then it seems to have been broken again. I'll look into whether 1.1.9 works and if yes the report needs to move to upstream.
As far as I can tell it's a bug in the wav-code in xinelib. Kristjan, do those wavs really play fine in Amarok? I have a short wav that doesn't play in Amarok at all...
Yes, just checked again, everytime I press play amarok 2.x plays it fine (recent svn version). This very same file is not heard when playing via knotify. As far as I know amarok uses phonon too, and currently I have xine backend only. @Matthias Kretz: can you please attach that wav so I can try it too?
Created attachment 29892 [details] very short wav
Indeed neither amarok 2.x plays your wav file, so probably it is a phonon/xine issue. Mine sample however it is normally played in amarok, but not with knotify. I also tested with a set of ubuntu sounds, amarok cut som samples on start or at the end, so probably it is phonon / xine issue.
Here's my patch to xine-lib, if you can please check whether it fixes your problem completely: http://sourceforge.net/mailarchive/forum.php?thread_name=a72a0e1d49c5f8efb4a7.1231073281@WhiteStar&forum_name=xine-devel If the problems remains, please reopen this report. Otherwise the bug is in xine-lib.
SVN commit 905549 by mkretz: Compile a copy of the xine wav demuxer as it should get shipped with xine-lib 1.1.16. Compile it only if compiling against xine-lib < 1.1.16 and even if it is compiled in use it only if the runtime version is < 1.1.16. This fixes #178296 without the need to update to xine-lib 1.1.16. CCBUG: 178296 M +1 -0 CMakeLists.txt A demux_wav.c [License: GPL (v2+)] A macros.h [License: LGPL] M +11 -0 plugins.c M +11 -0 xineengine.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=905549
*** Bug 159872 has been marked as a duplicate of this bug. ***
*** Bug 195800 has been marked as a duplicate of this bug. ***