$NetBSD: patch-aj,v 1.3 2018/11/15 01:13:02 markd Exp $ --- gcdmaster/SoundIF-solaris.cc.orig 2007-12-29 13:31:54.000000000 +0100 +++ gcdmaster/SoundIF-solaris.cc @@ -45,6 +45,7 @@ * Sound interface for Solaris. Thanks to Tobias Oetiker . */ +#include #include #include #include @@ -197,7 +198,7 @@ int SoundIFImpl::setupDevice() auinf.play.sample_rate=44100; auinf.play.channels=2; auinf.play.precision=16; - auinf.play.encoding=AUDIO_ENCODING_LINEAR; + auinf.play.encoding=AUDIO_ENCODING_SLINEAR_BE; if (ioctl(dspFd_, AUDIO_SETINFO, &auinf) < 0) { log_message(-1, _("Cannot setup audio interface: %s"), strerror(errno));