Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Dec 2020 19:09:01 +0000
From:      Graham Perrin <grahamperrin@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Firefox: virtual_oss: no sound
Message-ID:  <bab7f89a-c4f3-fac9-9d74-08198c10655b@gmail.com>
In-Reply-To: <CA+yoEx-bEMM1DeQs+-E2wLuHW4eh10BAgCS3zjSwCCkXGJVBog@mail.gmail.com>
References:  <1fe6a18e-9595-83fe-7edf-e6e8485d6d01@nethead.se> <1615da46-9fe4-d190-5e52-853be1319281@nethead.se> <CA+yoEx_QumpJVdWapHzWNH4kVg5EuCwSz8gY3OOkdH5XBkPzBQ@mail.gmail.com> <c436b2ed-09c2-7e0d-cb60-1ef6dd79a078@nethead.se> <CA+yoEx94q__VFAeyN6GHQ56KnPjis0-d3DXEyAnvPfajJt+xpQ@mail.gmail.com> <498e84a4-1f02-d080-0546-27664763ab3e@gmail.com> <CA+yoEx-bEMM1DeQs+-E2wLuHW4eh10BAgCS3zjSwCCkXGJVBog@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

On 06/12/2020 18:45, Mario Lobo wrote:
> On Sun, Dec 6, 2020 at 2:36 PM Graham Perrin <grahamperrin@gmail.com> wrote:
>
>> On 04/12/2020 18:37, Mario Lobo wrote:
>>
>> … Videos in Firefox not only have no sound. …
>>
>>
>> If you have not already done so:
>>
>>
>> about:config
>>
>> media.cubeb.backend
>> string
>> oss
>>
> It is set that way.
>
> By the way, I tried setting to sndio, and even though sndio wasn't running,
> It still had sound.
>
> But virtual_oss still has the same firefox results (no sound). I have to
> reboot the machine to get the sound back on FF.
> Stopping virtual_oss and restarting FF is not enough.
>
> I also had virtual_oss_ctl installed but, like you, I dont know how to use
> it.

If it helps: the setup outlined below works for me (with analogue audio 
in an HP EliteBook 8570p).

NB maybe worth actively checking that virtual_oss is running, i.e.

service virtual_oss status
or
service virtual_oss onestatus

Also: below, NB the `-t vdsp.ctl` part. IIRC this is for compatibility 
with the virtual_oss_ctl GUI.

----

grahamperrin@mowa219-gjp4-8570p:~ % tail -n 15 /etc/rc.conf


virtual_oss_enable="YES"
virtual_oss_default_args="\
   -T /dev/sndstat \
   -S \
   -i 8 \
   -C 2 -c 2 \
   -r 48000 \
   -b 24 \
   -s 8.0ms \
   -f /dev/dsp1 \
   -c 2 \
   -d dsp \
   -t vdsp.ctl"
sndiod_enable="YES"
grahamperrin@mowa219-gjp4-8570p:~ % service virtual_oss status
virtual_oss is running as pid 117.
grahamperrin@mowa219-gjp4-8570p:~ % service sndiod status
sndiod is running as pid 2212.
grahamperrin@mowa219-gjp4-8570p:~ % cat /dev/sndstat
Installed devices:
pcm0: <ATI R6xx (HDMI)> (play)
pcm1: <IDT 92HD81B1X (Analog 2.0+HP/2.0)> (play/rec) default
pcm2: <IDT 92HD81B1X (Analog)> (play/rec)
Installed devices from userspace:
dsp: <Virtual OSS> (play/rec)
grahamperrin@mowa219-gjp4-8570p:~ %




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?bab7f89a-c4f3-fac9-9d74-08198c10655b>