Subject: Re: buildlink3 in libao
To: None <tech-pkg@netbsd.org>
From: Rui-Xiang Guo <rxg@myrealbox.com>
List: tech-pkg
Date: 01/25/2006 23:25:32
On Fri, Nov 04, 2005 at 11:55:27AM -0500, Todd Vierling wrote:
> On Sat, 5 Nov 2005, Rui-Xiang Guo wrote:
> 
> > I found the libao plugin default installation is oss on NetBSD.
> > Did this patch make it judge the os type more properly?
> 
> Hm.  Does the "sun" plugin have decent output quality?  (In some code, "sun"
> refers to the really low Hz classical SunOS audio output device.)

in buildlink3.mk -
[...]
.    if ${OPSYS} != "Darwin" && ${OPSYS} != "Interix" && ${OPSYS} != "SunOS"
_LIBAO_DEFAULT_PLUGIN=          oss
.    elif ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS"
          ^^^^^^^^^^^^^^^^^^^^^^^^
	So we don't need this (and it's also useless, we always fall into "oss")
	only SunOS will use "sun" plugin, right?
_LIBAO_DEFAULT_PLUGIN=          sun
.    else
[...]