ASUS Xonar STX driver.
Hans Petter Selasky
hps at selasky.org
Mon Oct 28 13:32:51 UTC 2019
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
More information about the freebsd-multimedia
mailing list