Date: Mon, 29 Mar 2021 10:11:22 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Softwafe Engineer <timsofteng@gmail.com> Cc: freebsd-multimedia@freebsd.org Subject: Re: Distorted sound with external usb-device and bitperfect Message-ID: <4938264f-686a-af1a-cb28-f39585b1375a@selasky.org> In-Reply-To: <CAP7bFfCRBnJh5k0fe8r9AnhzTh8FBO6_r=iu9D9qrwo-PTxD6A@mail.gmail.com> References: <CAP7bFfBhoHQXV%2BzpW3Sm%2BLcJh77U=KBoZzhJ6oxCxBABx3UPwQ@mail.gmail.com> <d7d15f35-f363-44df-bf05-c2253a5307d1@selasky.org> <CAP7bFfCRBnJh5k0fe8r9AnhzTh8FBO6_r=iu9D9qrwo-PTxD6A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3/29/21 6:59 AM, Softwafe Engineer wrote: > Here is dmesg after motu m2 was plugged: > > https://pastebin.com/1mcQNn1H > > (is pastebin ok?) > > I've tried it in few music players which are could be find in ports > - deadbeef > - audacious > > Both sound distorted when I enable bitperfect and disable vchans. If > not then sounds ok. > > I never try virtual_oss. I just would to send bitperfect sound from > freebsd to motu m2 to listen music. > Hi, I suspect the applications you are trying to use don't support 32-bit mode via OSS. That's why you hear noise. They've configured something else, like 16-bit or 24-bit mode. You could ktrace the application possibly to figure this out. It will show all IOCTL's. Try to configure virtual_oss in bitperfect mode instead for a test. Beware that many applications that output 16-bit audio, don't properly fill the lower bytes with noise when they resampling to 32-bit. That's another reason to use virtual_oss :-) --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4938264f-686a-af1a-cb28-f39585b1375a>