From owner-freebsd-multimedia@freebsd.org Thu Apr 28 18:43:21 2016 Return-Path: Delivered-To: freebsd-multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 76C87B1FE94; Thu, 28 Apr 2016 18:43:21 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3B0DD1493; Thu, 28 Apr 2016 18:43:21 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.138.129] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1avquD-0001NT-6W; Thu, 28 Apr 2016 20:43:17 +0200 Received: from localhost.my.domain (c720-r292778-amd64 [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id u3SIhDOu003970 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 28 Apr 2016 20:43:13 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id u3SIhCqe003969; Thu, 28 Apr 2016 20:43:12 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 28 Apr 2016 20:43:12 +0200 From: Matthias Apitz To: Jan Beich Cc: vit shatsillo , freebsd-multimedia@freebsd.org, gecko@FreeBSD.org Subject: Re: firefox-43 && no sound on MP3, MP4, HTML5 Message-ID: <20160428184312.GC3721@c720-r292778-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Jan Beich , vit shatsillo , freebsd-multimedia@freebsd.org, gecko@FreeBSD.org References: <60v1-ivm1-wny@vfemail.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <60v1-ivm1-wny@vfemail.net> X-Operating-System: FreeBSD 11.0-CURRENT r292778 (amd64) User-Agent: Mutt/1.5.24 (2015-08-30) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.138.129 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2016 18:43:21 -0000 El día Thursday, April 28, 2016 a las 05:47:02PM +0200, Jan Beich escribió: > >> Thanks for the reply. I'm building all ports with poudriere. I checked > >> now: > >> > >> $ pkg info firefox | fgrep -i pulse > >> PULSEAUDIO : on > >> > >> and will recompile FF over the weekend. Will report back. > > > > I recompiled FF and now it works. If this is a known issue, maybe it > > should be switched-off in the Makefile of the port. It would have saved > > me 2 hours of tests yesterday evening before writing to > > freebsd-multimedia@ > > Firefox detects PulseAudio during runtime. if I do: # cd /usr/ports/www/firefox # make config for what is the option PULSEAUDIO on/off exactly and why it is set to 'on' as default(?); note: I compile with poudriere and one has limit or no influence over the question if some port is working on the target host later; > Either deinstall it or make > sure it actually works i.e., check with paplay(1) and force sink/source[1]. this gives on my netbook: $ LANG=C paplay Track01.mp3 Failed to open audio file. I even used truss but can not detect why it is unable to open the audio file (which one?); > firefox package built by pkg.freebsd.org doesn't pull pulseaudio. What does this mean 'pull pulseaudio'? How the PULSEAUDIO option is set in this official pkg? > If audio/pulseaudio doesn't work *by default* file a bug for the > maintainer (gnome@) to notice and maybe CC consumers (e.g. gecko@). Should I file a bug due to the above error, or do I something wrong? I have applied the change in /usr/local/etc/pulse/default.pa matthias > > [1] Apply to avoid /dev/sndstat device enumeration and use the same > sink/source as sysctl hw.snd.default_unit. > > --- /usr/local/etc/pulse/default.pa~ > +++ /usr/local/etc/pulse/default.pa > @@ -43,17 +43,11 @@ load-module module-switch-on-port-availa > ### Load audio drivers statically > ### (it's probably better to not load these drivers manually, but instead > ### use module-udev-detect -- see below -- for doing this automatically) > -#load-module module-oss device="/dev/dsp" sink_name=output source_name=input > +load-module module-oss device="/dev/dsp" sink_name=output source_name=input > #load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input > #load-module module-null-sink > #load-module module-pipe-sink > > -### Automatically load driver modules depending on the hardware available > -.ifexists module-detect.so > -### Use the static hardware detection module (for systems that lack udev support) > -load-module module-detect > -.endif > - > ### Automatically connect sink and source if JACK server is present > .ifexists module-jackdbus-detect.so > .nofail -- 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.