From nobody Fri Dec 09 21:02:26 2022 X-Original-To: usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NTNkp3tz7z4kHJr for ; Fri, 9 Dec 2022 21:02:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NTNkp2W2Pz3yhp for ; Fri, 9 Dec 2022 21:02:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670619746; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oPl3dIQ6pLaqP4OVGhcjt65xyXoGD3Z7Gl4f4ozDPX4=; b=gtPvT8xS98P2NgFQDTCNM+0jNpdccs1WBy6NwSOIAmzqyH5O42F7Y0Rbi+1MkY/pNbFobF Wj4/2RTRC/fgh2/NpTU+8atmo5y3ZH4Emf/YAFSnVGhLoHyLPiRvK2gNAHvTM0rjXH/O/F pi/xVpC2eQdXEfSc2uoh6GbM4vRQkj4U0Zp5+xjGtzV080bkytEJr5NUk0OPCAT5kpIeI4 1WUS+nZeAqARLXku13DwrtqPmAng01poki8X3jVBZpxACcKY3z+7YdIzshm2yS3bOJjMd5 PkECmFXfqjuz5TL5e76ryalgVBRhUNAi/i5V/zAd/ACBTd/Sdq6IAwyWmxGsng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670619746; a=rsa-sha256; cv=none; b=PDa0Y+wUopbLOIb6jXwsBIUJuGPA8RjS2NS/4f1rDKUIKnaM19XROu/rASt8y+QJ9Ge1iM gA5oQGb8oegiafIWOhu4IUd7wEiSuBchSWn3aG/0jROtrzheY7yTX8fAa9fcAvBD7bcbh+ yJToymmPTc1ZtgV4PzDqyDDxnJaW12q65Ip3laSuR88otXHa9d7TtwwzOlWo9+/bY2ziYg VbgQrVTh5mf4VXAhWl0NUMohNpwpHn+81bw9ao+CqCm++yabY30oLjIt/yk31br0djzUld ug0lzNExOSs2fgc18t/aTjEkV9pweM/E/cMdPODmz+RzEKvTYi2e56aXsP3Q+A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NTNkp1HmDzrDk for ; Fri, 9 Dec 2022 21:02:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2B9L2Qoa001851 for ; Fri, 9 Dec 2022 21:02:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2B9L2QNl001850 for usb@FreeBSD.org; Fri, 9 Dec 2022 21:02:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 268136] [snd_uaudio] Distorted audio from MOTU M4 USB interface Date: Fri, 09 Dec 2022 21:02:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markus.buretorp@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268136 --- Comment #10 from mburetorp --- I have tested virtual_oss now but so far I haven't been able to get any sou= nd. Do you have an argument list that should work in my case? I don't quite understand how -C -c should be used. Without virtual_oss I have concluded that hw.usb.uaudio.default_bits=3D32 i= s the only bit depth that works, so dev.pcm.4.play.vchanformat should probably be= s32 as well. In bitperfect mode that seem to be the only format that I can use,= but no applications understand 32 bit 4 channels, but maybe virtual_oss can. I = just want stereo sound in channel 1/2 and channel 3/4 to be muted. root@marcus:~ # sysctl dev.pcm.4.bitperfect dev.pcm.4.bitperfect: 1 root@marcus:~ # sysctl dev.pcm.4.play.vchanformat dev.pcm.4.play.vchanformat: s32le:4.0 root@marcus:~ # sysctl dev.pcm.4.play.vchanformat=3Ds16le:2.0 dev.pcm.4.play.vchanformat: s32le:4.0 -> s32le:4.0 root@marcus:~ # sysctl dev.pcm.4.bitperfect=3D0 dev.pcm.4.bitperfect: 1 -> 0 root@marcus:~ # sysctl dev.pcm.4.play.vchanformat=3Ds16le:2.0 dev.pcm.4.play.vchanformat: s32le:4.0 -> s16le:2.0 root@marcus:~ # sysctl dev.pcm.4.bitperfect=3D1 dev.pcm.4.bitperfect: 0 -> 1 root@marcus:~ # sysctl dev.pcm.4.play.vchanformat=3Ds16le:4.0 dev.pcm.4.play.vchanformat: s16le:2.0 -> s32le:4.0 --=20 You are receiving this mail because: You are the assignee for the bug.=