Re: sound on FreeBSD 14.0-CURRENT

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Tue, 16 Nov 2021 20:25:46 UTC
On 11/16/21 20:59, Ludovit Koren wrote:
>>>>>> Hans Petter Selasky <hps@selasky.org> writes:
> 
>      > Hi,
>      >> It is not working...
>      >> Just a thought... Could not be the problem how are the apps built
>      >> (chromium, firefox), i.e. which options are set on?
> 
>      > No, the default should work out of the box.
> 
>      > What does "which virtual_oss_cmd" output?
> 
> which virtual_oss_cmd
> /usr/local/sbin/virtual_oss_cmd
> 
>      > Maybe /usr/local/bin is not in your PATH?
> 
> env
> SHELL=/usr/local/bin/bash
> WORDLIST=/usr/home/koren/ispell.words
> crt=24
> EDITOR=vi
> ENV=/usr/home/koren/.shrc
> PWD=/usr/home/koren
> LOGNAME=koren
> TEXINPUTS=.:/usr/local/lib/texmf/tex//:/usr/local/share/texmf/tex//:/usr/local/share/texmf-dist/tex//:/usr/home/koren/others:/usr/home/koren/mytex:/usr/home/koren/projects/interpre/manual/english
> MANPATH=/usr/share/man:/usr/X11R6/man:/usr/local/man:/usr/local/pgsql/man
> HOME=/usr/home/koren
> LANG=C.UTF-8
> EXINIT=set redraw wm=8
> TEXEDIT=/usr/local/bin/emacs +%d %s
> SSH_CONNECTION=192.168.2.16 15340 192.168.2.19 22
> PGLIB=/usr/local/pgsql/lib
> TERM=xterm
> USER=koren
> MORE=-cei
> mail=/usr/spool/mail/koren
> DISPLAY=localhost:11.0
> SHLVL=1
> PAGER=more
> MM_CHARSET=UTF-8
> PS1=\! \h|\w>
> SSH_CLIENT=192.168.2.16 15340 22
> PGDATA=/usr/local/pgsql/data
> host=jedi
> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/usr/home/koren/bin
> BLOCKSIZE=K
> MAIL=/usr/spool/mail/koren
> SSH_TTY=/dev/pts/11
> _=/usr/bin/env
> 
>      >> regards,
>      >>
> 
>      > Can you show the commands you are running and the result printed in
>      > the terminal.
> 
> virtual_oss_cmd /dev/dsp.ctl -f /dev/dsp1.0
> virtual_oss_cmd /dev/dsp.ctl -f /dev/dsp2.0
> virtual_oss_cmd /dev/dsp.ctl -f /dev/dsp1
> virtual_oss_cmd /dev/dsp.ctl -f /dev/dsp2
> 
> no output
> 

Hi,

Maybe the output and input are two different DSP devices.

Try using the -P /dev/dsp1 and -R /dev/dsp0 options instead to sepecify 
each device separately.

--HPS