Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Aug 2023 21:32:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 272901] [PATCH]I created DSD/DoP support patch and easy .dsf player command for USB Audio Interface, tested on FreeBSD 13.1 (amd64), iFi Uno and Audirect ATOM3 USB Type-C USB Audio Interface.
Message-ID:  <bug-272901-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272901

            Bug ID: 272901
           Summary: [PATCH]I created DSD/DoP support patch and easy .dsf
                    player command for USB Audio Interface, tested on
                    FreeBSD 13.1 (amd64), iFi Uno and Audirect ATOM3 USB
                    Type-C USB Audio Interface.
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: alumina@ceramix.compress.to

Created attachment 243810
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D243810&action=
=3Dedit
easy .dsf player command source with FreeBSD-13.1 kernel patch archive.

o easy .dsf player command
(require modify for /usr/include/sys/soundcard.h)
mkdir /tmp/dsfplay
cd /tmp/dsfplay
tar xzf dsfplay.tar.gz

cd /usr/src/sys
patch < /tmp/dsfplay/FreeBSD-13.1-dev.sound.diff
cd amd64/conf
config GENERIC
cd ../compile/GENERIC
make cleandepend && make depend && make && make install
cp -f /usr/src/sys/sys/soundcard.h /usr/include/sys/

cd /tmp/dsfplay
make all install
reboot

o for iFi Uno (DSD Native)
sysctl dev.pcm.N.bitperfect=3D0
sysctl dev.pcm.N.dsd_to_dop=3D0
sysctl dev.pcm.N.play.vchanformat=3Ds32le:2.0
sysctl dev.pcm.N.play.vchanrate=3D384000
sysctl dev.pcm.N.play.vchans=3D3
sysctl hw.snd.default_unit=3DN
mixer -f /dev/mixerN pcm 100 vol 100
(N is iFi Uno's PCM device number)

o for Audirect ATOM3 USB Type-C
(I don't know DSD Native control method for ATOM3, DoP mode)
sysctl dev.pcm.N.bitperfect=3D0
sysctl dev.pcm.N.dsd_to_dop=3D1
sysctl dev.pcm.N.play.vchanformat=3Ds32le:2.0
sysctl dev.pcm.N.play.vchanrate=3D768000
sysctl dev.pcm.N.play.vchans=3D3
sysctl hw.snd.default_unit=3DN
mixer -f /dev/mixerN pcm 100 vol 100
(N is Audirect ATOM3's PCM device number)

dsfplay (.dsf file...)

thanks.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272901-227>