Date: Tue, 16 Nov 2021 17:53:41 +0100 From: Ludovit Koren <ludovit.koren@gmail.com> To: Hans Petter Selasky <hps@selasky.org> Cc: freebsd-current@freebsd.org Subject: Re: sound on FreeBSD 14.0-CURRENT Message-ID: <868rxo59ey.fsf@gmail.com> In-Reply-To: <6c443abb-2d0f-ab04-2d8f-16e74323f4af@selasky.org> (Hans Petter Selasky's message of "Tue, 16 Nov 2021 13:42:56 %2B0100") References: <86h7cc5tgq.fsf@gmail.com> <8e946cd7-6380-87cc-9f9d-f624717a0954@selasky.org> <86czn05rcb.fsf@gmail.com> <6c443abb-2d0f-ab04-2d8f-16e74323f4af@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> Hans Petter Selasky <hps@selasky.org> writes: > On 11/16/21 11:26, Ludovit Koren wrote: >>>>>>> Hans Petter Selasky <hps@selasky.org> writes: >> > On 11/16/21 10:40, Ludovit Koren wrote: >> >> Hi, >> >> I am running FreeBSD 14.0-CURRENT #0 main-n250646-c0525ab1d1c-dirty: >> >> Sat Nov 13 16:42:44 CET 2021 >> >> Here is the output from: >> >> cat /dev/sndstat >> >> Installed devices: >> >> pcm0: <Realtek ALC285 (Analog)> (play/rec) default >> >> pcm1: <Realtek ALC285 (Left Analog Headphones)> (play) >> >> pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> (play) >> >> Installed devices from userspace: >> >> dsp: <Virtual OSS> (play/rec) >> >> vdsp: <Virtual OSS> (play/rec) >> >> I am running: >> >> /usr/local/sbin/virtual_oss -B -D /var/run/virtual_oss/dsp.pid -T >> >> /dev/sndstat -S -i 8 -C 18 -c 18 -r 48000 -b 32 -s 512 -f /dev/dsp0 >> >> -c 2 -d dsp -c 18 -d vdsp -t vdsp.ctl >> >> I am not able to redirect to different output even if I try for >> >> example: >> >> sysctl hw.snd.default_unit=1 >> >> Please see the attached output from: sysctl dev.pcm, sysctl hw.snd >> >> and >> >> dmesg. >> >> I did not find any hint how to redirect the sound output to the >> >> different >> >> device except hw.snd.default_unit. The output remains in the default >> >> output. Am I missing something or doing something wrong? >> >> >> > Hi, >> > When you are using virtual_oss , hw.snd.default_unit is not >> used. >> > man virtual_oss_cmd >> > Try this instead: >> > virtual_oss_cmd /dev/vdsp.ctl -f /dev/dsp1 >> Unfortunately, even the command is not working. >> > Maybe your virtual_oss installation needs to be upgraded then? It > should be supported. >pkg info virtual_oss virtual_oss-1.2.15 Name : virtual_oss Version : 1.2.15 Installed on : Tue Nov 16 12:39:14 2021 CET Origin : audio/virtual_oss Architecture : FreeBSD:14:amd64 Prefix : /usr/local Categories : audio Licenses : BSD2CLAUSE Maintainer : hselasky@FreeBSD.org WWW : https://github.com/hselasky/virtual_oss Comment : Virtual OSS multi device mixer application Options : BLUETOOTH : on BT_SPEAKER : on COMMAND : on DEBUG : off EQUALIZER : on HTTPD : on Shared Libs required: libfftw3.so.3 libsamplerate.so.0 Annotations : FreeBSD_version: 1400041 Flat size : 140KiB Description : Virtual OSS is an audio mixing application that multiplexes and demultiplexes a single OSS device into multiple customizable OSS compatible devices using character devices in userspace. These devices can be used to record played back audio and mix the individual channels in multiple ways. Virtual OSS also supports playback and recording through bluetooth audio devices. WWW: https://github.com/hselasky/virtual_oss 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? regards, lk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?868rxo59ey.fsf>