Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 May 2016 15:11:47 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Jan Beich <jbeich@vfemail.net>
Cc:        freebsd-multimedia@freebsd.org, gecko@freebsd.org, kde-freebsd@kde.org
Subject:   Re: firefox-43 && no sound on MP3, MP4, HTML5
Message-ID:  <20160501131147.GA6872@c720-r292778-amd64>
In-Reply-To: <7ffe-c8yv-wny@vfemail.net>
References:  <20160428184312.GC3721__32639.8463490934$1461869020$gmane$org@c720-r292778-amd64> <fuu5-8n7i-wny@vfemail.net> <20160429055040.GD2022@c720-r292778-amd64> <CAC5YPTvuXwkdFUbcC7ur_60f==3U%2BuDFMJy_geAmQ_z1_EGd2Q@mail.gmail.com> <20160501081828.GA2078__49794.1147922122$1462090744$gmane$org@c720-r292778-amd64> <r3dm-gni9-wny@vfemail.net> <20160501093007.GA2811__1164.70847647197$1462095034$gmane$org@c720-r292778-amd64> <h9ei-f6ah-wny@vfemail.net> <20160501104111.GA3164@c720-r292778-amd64> <7ffe-c8yv-wny@vfemail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Sunday, May 01, 2016 a las 01:29:28PM +0200, Jan Beich escribió:

> Matthias Apitz <guru@unixarea.de> writes:
> 
> > I: [(null)] main.c: This is PulseAudio 6.0
> 
> Can you upgrade the package to 8.0? But before that backup and remove
> /usr/local/etc/pulse/ to start from a clean slate.

This is not a simple as said. I would have to update all my ports (which
are from head as of December 30); I will do this soon.

Re/ version 8.0, I checked the SVN and it bumped from 6.0 to 8.0 on Feb
14 with the release of Gnome 3.18.

> In general, there's no support for out of date packages. ;) I have no
> clue if versions before 8.0 had different quirks. Ask gnome@.

I have investigated it further. The puldeaudio daemon is started when
KDE desktop comes up and is unuseable for FF as KDE it starts; I have
not found in KDE any way to configure this and came up with an autostart
script as .kde4/Autostart/pulseaudio.sh which killes away the running
pulseaudio, starts it new and send down the pacmd setting:

#!/bin/sh
#
# restart pulseaudio with correct 'sink' for firefox
#
LANG=C date > /tmp/pulseaudio.out
ps ax | fgrep pulseaudio | fgrep -v pulseaudio.sh >> /tmp/pulseaudio.out
killall pulseaudio
echo starting /usr/local/bin/pulseaudio --start --log-target=syslog >> /tmp/pulseaudio.out
/usr/local/bin/pulseaudio --start --log-target=syslog
sleep 1
echo setting pacmd set-default-sink $(sysctl -n hw.snd.default_unit) >> /tmp/pulseaudio.out
pacmd set-default-sink $(sysctl -n hw.snd.default_unit)

With this all is fine now.

Added Cc: to kde@

Thanks

	matthias

-- 
Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045
¡Dios querido denos otra vez los problemas de ayer, los que tuvimos en la RDA!
My Lord, give us back the problems of yesterday, those we have had in the GDR.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160501131147.GA6872>