From owner-freebsd-multimedia@freebsd.org Mon Oct 28 10:56:20 2019 Return-Path: Delivered-To: freebsd-multimedia@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4BC7F17DEF4 for ; Mon, 28 Oct 2019 10:56:20 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 471s8f3Ncsz3JhD; Mon, 28 Oct 2019 10:56:17 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 50B9226011E; Mon, 28 Oct 2019 11:56:08 +0100 (CET) Subject: Re: ASUS Xonar STX driver. To: =?UTF-8?Q?Alexandre_C=2e_Guimar=c3=a3es?= , freebsd-multimedia@FreeBSD.org References: <20191010041644.jpvz3gftdmuhxaov@privacychain.ch> <20191021140843.p4auiby2whep54hj@privacychain.ch> From: Hans Petter Selasky Message-ID: <3c0b4b7c-2148-fd39-9837-a4fe8b7d002c@selasky.org> Date: Mon, 28 Oct 2019 11:54:43 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <20191021140843.p4auiby2whep54hj@privacychain.ch> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 471s8f3Ncsz3JhD X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-5.47 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-3.17)[ip: (-9.33), ipnet: 88.99.0.0/16(-4.74), asn: 24940(-1.79), country: DE(-0.01)]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Oct 2019 10:56:20 -0000 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