[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.
Date: Wed, 02 Aug 2023 21:32:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272901 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=243810&action=edit 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=0 sysctl dev.pcm.N.dsd_to_dop=0 sysctl dev.pcm.N.play.vchanformat=s32le:2.0 sysctl dev.pcm.N.play.vchanrate=384000 sysctl dev.pcm.N.play.vchans=3 sysctl hw.snd.default_unit=N 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=0 sysctl dev.pcm.N.dsd_to_dop=1 sysctl dev.pcm.N.play.vchanformat=s32le:2.0 sysctl dev.pcm.N.play.vchanrate=768000 sysctl dev.pcm.N.play.vchans=3 sysctl hw.snd.default_unit=N mixer -f /dev/mixerN pcm 100 vol 100 (N is Audirect ATOM3's PCM device number) dsfplay (.dsf file...) thanks. -- You are receiving this mail because: You are the assignee for the bug.