Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 May 2016 12:41:11 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Jan Beich <jbeich@vfemail.net>
Cc:        Oleg Nauman <oleg.nauman@gmail.com>, freebsd-multimedia@freebsd.org, gecko@freebsd.org
Subject:   Re: firefox-43 && no sound on MP3, MP4, HTML5
Message-ID:  <20160501104111.GA3164@c720-r292778-amd64>
In-Reply-To: <h9ei-f6ah-wny@vfemail.net>
References:  <60v1-ivm1-wny@vfemail.net> <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>

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

> Matthias Apitz <guru@unixarea.de> writes:
> 
> > El día Sunday, May 01, 2016 a las 11:01:50AM +0200, Jan Beich escribió:
> >
> >> Matthias Apitz <guru@unixarea.de> 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.



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