Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2019 11:54:43 +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
Subject:   Re: ASUS Xonar STX driver.
Message-ID:  <3c0b4b7c-2148-fd39-9837-a4fe8b7d002c@selasky.org>
In-Reply-To: <20191021140843.p4auiby2whep54hj@privacychain.ch>
References:  <20191010041644.jpvz3gftdmuhxaov@privacychain.ch> <b1463f67-7430-039c-dfbf-fe2fc4118554@selasky.org> <20191021140843.p4auiby2whep54hj@privacychain.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
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?3c0b4b7c-2148-fd39-9837-a4fe8b7d002c>