From owner-freebsd-gecko@freebsd.org Sun May 1 10:41:16 2016 Return-Path: Delivered-To: freebsd-gecko@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 F2BF9B0FA19 for ; Sun, 1 May 2016 10:41:16 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id D6F4D11E0 for ; Sun, 1 May 2016 10:41:16 +0000 (UTC) (envelope-from guru@unixarea.de) Received: by mailman.ysv.freebsd.org (Postfix) id D26D5B0FA15; Sun, 1 May 2016 10:41:16 +0000 (UTC) Delivered-To: gecko@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 CD7AEB0FA14; Sun, 1 May 2016 10:41:16 +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 7D83811DF; Sun, 1 May 2016 10:41:16 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [62.216.195.139] (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 1awooL-0003kb-1y; Sun, 01 May 2016 12:41:13 +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 u41AfB1h003209 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 1 May 2016 12:41:11 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id u41AfBFh003208; Sun, 1 May 2016 12:41:11 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 1 May 2016 12:41:11 +0200 From: Matthias Apitz To: Jan Beich Cc: Oleg Nauman , freebsd-multimedia@freebsd.org, gecko@freebsd.org Subject: Re: firefox-43 && no sound on MP3, MP4, HTML5 Message-ID: <20160501104111.GA3164@c720-r292778-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Jan Beich , Oleg Nauman , freebsd-multimedia@freebsd.org, gecko@freebsd.org References: <60v1-ivm1-wny@vfemail.net> <20160428184312.GC3721__32639.8463490934$1461869020$gmane$org@c720-r292778-amd64> <20160429055040.GD2022@c720-r292778-amd64> <20160501081828.GA2078__49794.1147922122$1462090744$gmane$org@c720-r292778-amd64> <20160501093007.GA2811__1164.70847647197$1462095034$gmane$org@c720-r292778-amd64> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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: 62.216.195.139 X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 May 2016 10:41:17 -0000 El día Sunday, May 01, 2016 a las 11:59:02AM +0200, Jan Beich escribió: > Matthias Apitz writes: > > > El día Sunday, May 01, 2016 a las 11:01:50AM +0200, Jan Beich escribió: > > > >> Matthias Apitz writes: > >> > >> > I: [(null)] sink-input.c: Created input 0 "AudioStream" on > >> > oss_output.dsp0 with sample spec float32le 2ch 48000Hz and channel map > >> > front-left,front-right > >> > I: [(null)] sink-input.c: media.name = "AudioStream" > >> > I: [(null)] sink-input.c: application.process.binary = "firefox" > >> > >> Firefox uses oss_output.dsp0 sink or /dev/dsp0 but without knowing the > >> value of hw.snd.default_unit it's not very useful. For details, run > >> > >> $ pkg info -D pulseaudio > > > > Which says: > > ... > > o change the default sink (output): > > # pacmd set-default-sink 3 > > To change the default source (input): > > # pacmd set-default-source 3 > [...] > > I have tested there in the file 0 and 1, without much more sound. How > > can I get and understand the correct values to put into the file? > > Can you show the output of the following command? According to sound(4) man > page the value determines which of /dev/dsp0, /dev/dsp1, ... /dev/dspN > audio samples are fed to by default. > > $ sysctl hw.snd.default_unit > > pkg-message can actually be improved to suggest > > $ pacmd set-default-sink $(sysctl -n hw.snd.default_unit) > $ pacmd set-default-source $(sysctl -n hw.snd.default_unit) root@c720-r292778-amd64:~ # sysctl hw.snd.default_unit hw.snd.default_unit: 1 Note: This is not changed via /etc/sysctl.conf which contains only hw.acpi.power_button_state=NONE debug.cyapa_enable_tapclick=3 debug.cyapa_tapclick_max_ticks=20 # # linux-c6: compat.linux.osrelease=2.6.18 # # chromium needs: kern.ipc.shm_allow_removed=1 Thanks for helping me through. 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.