Date: Mon, 28 Oct 2019 14:30:46 +0100 From: Hans Petter Selasky <hps@selasky.org> To: =?UTF-8?Q?Alexandre_C=2e_Guimar=c3=a3es?= <rigoletto@FreeBSD.org>, freebsd-multimedia@FreeBSD.org, ap@sndbro.ru Subject: Re: ASUS Xonar STX driver. Message-ID: <1d056845-8422-cbf1-04ba-fa4050be501e@selasky.org> In-Reply-To: <3c0b4b7c-2148-fd39-9837-a4fe8b7d002c@selasky.org> References: <20191010041644.jpvz3gftdmuhxaov@privacychain.ch> <b1463f67-7430-039c-dfbf-fe2fc4118554@selasky.org> <20191021140843.p4auiby2whep54hj@privacychain.ch> <3c0b4b7c-2148-fd39-9837-a4fe8b7d002c@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
CC'ing author. On 2019-10-28 11:54, Hans Petter Selasky wrote: > On 2019-10-21 16:08, Alexandre C. Guimarães wrote: >> On Mon, Oct 21, 2019 at 09:13:11AM +0200, Hans Petter Selasky wrote: >>> On 2019-10-10 06:16, Alexandre C. Guimarães wrote: >>>> Hello, >>>> >>>> I just want to point out someone wrote a FreeBSD driver to "ASUS >>>> Xonar STX" >>>> and may be interesting to merge it. >>>> >>>> https://github.com/polachok/xonar-freebsd >>>> >>>> Cheers. >>>> >>>> P.S. I don't subscribe this list. :-) >>>> >>> >>> Is this hardware easy to obtain? >>> >>> What is the advantage over intel sound HDA compatible devices? >>> >>> --HPS >> >> Disclaimer: I don't have this hardware, but I remember someone in forums >> have it. >> >> Yes, they are easy to obtain but at the expensive side. The "Xonar" >> are the >> higher-end Asus sound cards, pretty common among people whom are >> interested >> in audio, home theater/multi channel installations and gaming. >> >> - Hi-Fi: https://www.asus.com/Sound-Cards/Hi-Fi-Sound-Cards-Products/ >> - Gaming: https://www.asus.com/Sound-Cards/Gaming-Products/ >> >> That said, I can't say what models that particular driver >> implementation do >> cover. >> > > Hi, > > I see some style issues in the code. > > Can you run the code through the following script: > >> #!/bin/sh >> >> [ -z "$1" ] && (echo "Please specify a filename.") && exit >> >> for F in $* >> do >> >> echo "Now styling $F" >> >> (cat $F | indent -Toss_mixerinfo -TFILE -Tu_char -Tu_int -Tu_long \ >> -TTAILQ_HEAD -TLIST_HEAD -TTAILQ_ENTRY -TLIST_ENTRY \ >> -TSTAILQ_HEAD -TSTAILQ_ENTRY \ >> -Tu_short -Tfd_set -ta -st -bad -bap -nbbb -nbc -br -nbs \ >> -c41 -cd41 -cdb -ce -ci4 -cli0 -d0 -di8 -ndj -ei -nfc1 \ >> -nfcb -i8 -ip8 -l79 -lc77 -ldi0 -nlp -npcs -psl -sc \ >> -nsob -nv | sed -e "s/_HEAD [(]/_HEAD(/g" | >> sed -e "s/_ENTRY [(]/_ENTRY(/g" | >> sed -e "s/ __packed/ __packed/g" | sed -e "s/ __aligned/ >> __aligned/g" | >> sed -e "s/^#define /#define /g") > temp >> >> (diff temp $F > /dev/null) || (cp temp $F) >> >> done > --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1d056845-8422-cbf1-04ba-fa4050be501e>