Re: No sound - Solaris x86
Jake Goerzen <[email protected]>
| Newsgroups | gmane.comp.video.ogle.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 7 Nov 2003, Bj|rn Englund wrote: > Hi what audio system are you using, OSS or sunaudio? > Could you try editing the configure script so it includes sunaudio > or find out why it doesn't find it? > This is the part in configure.in that handles it: > dnl check for sunaudio > AC_ARG_ENABLE([sunaudio], > [ --disable-sunaudio make a version not using Sun audio]) > if test "x$enable_sunaudio" != xno; then > case "$host" in > *-sun-solaris*) > > dnl check for headers.. only define LIBOGLEAO_SOLARIS if headers are found. > AC_DEFINE([LIBOGLEAO_SOLARIS],,[libogleao solaris audio support]) > BUILD_AUDIO_SOLARIS=1 > DEFAULT_AUDIO_DRIVER="solaris" > DEFAULT_AUDIO_DEVICE="/dev/audio" > esac > fi > > /Bj|rn > Hi Bj|rn, I'm using the sunaudio system. I'm not sure why it works fine on Solaris sparc but not on x86. It has something to do with the $host case conditional. This probibly isn't the best way to do this, but I modified configure.in by removing the case conditional and changed it to never build the solaris audio driver unless --enable-sunaudio is given to configure. Here is a diff: 475c475,477 < if test "x$enable_sunaudio" == xyes; then --- > if test "x$enable_sunaudio" != xno; then > case "$host" in > *-sun-solaris*) 481a484 > esac I hope this helps. Jake