Bug 245057 - Dolphin doesn't release the sound device after playback in information panel.
Summary: Dolphin doesn't release the sound device after playback in information panel.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: Xine backend (show other bugs)
Version: 4.4.2 (KDE 4.5)
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-18 18:18 UTC by Alexander
Modified: 2011-12-01 09:02 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander 2010-07-18 18:18:44 UTC
Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

It's important for me because I watching movies with 5.1 surround sound, but, through bad 5.1 support in the ALSA driver, I can't play 5.1 if one of applications uses the sound device (or just do not release it, like dolphin does).

As result, I am forced to close dolphin every time before playing a movie with the 5.1 sound, if I've previewed this movie previously in the dolphin information panel.

Example:
lsof | grep snd
kmix     14718 heaven  11u   CHR   116,10   0t0   3839 /dev/snd/controlC0
dolphin  14945 heaven  mem   CHR   116,8          3835 /dev/snd/pcmC0D0p
dolphin  14945 heaven  24u   CHR   116,10   0t0   3839 /dev/snd/controlC0
dolphin  14945 heaven  29r   CHR   116,2    0t0   3595 /dev/snd/timer
dolphin  14945 heaven  30u   CHR   116,8    0t0   3835 /dev/snd/pcmC0D0p
amarok   18261 heaven  13u   CHR   116,10   0t0   3839 /dev/snd/controlC0

By the way, it's related to the all KDE applications I seen. Even knotify had this problem before and amarok too. I don't know, is it the global kde (phonon?) fail, or programmers simply don't know how it works?

Reproducible: Always
Comment 1 FiNeX 2010-08-02 14:41:44 UTC
Cannot reproduce using KDE 4.4.5. Could this be related to a wrong configuration on phonon?
Comment 2 Alexander 2010-08-02 16:45:16 UTC
You ask me? :) I only can assume, that this is related to the phonon backend (I use phonon-xine). Right now I've opened dolphin, selected a video file and launched its preview in the dolphin information panel. After I've stopped it and even closed this tab, dolphin doesn't released the sound device, until I not closed it.

It's in KDE 4.4.95, but it happened and in 4.4.5 and in earlier releases.
Comment 3 Myriam Schweingruber 2010-08-03 08:38:52 UTC
Which Phonon backend do you use?
Comment 4 Alexander 2010-08-03 13:01:00 UTC
Xine backend.
Comment 5 Myriam Schweingruber 2010-08-03 14:09:49 UTC
Thank you for the feedback.
Comment 6 Myriam Schweingruber 2011-12-01 09:02:03 UTC
We are sorry, but the xine backend is unmaintained: http://lists.kde.org/?l=kde-announce&m=130744384419151
Please use the phonon-backend-gstreamer or thre phonon-backend-vlc instead.