Re: No sound - Solaris x86

Darrel Hankerson <[email protected]>
Newsgroups gmane.comp.video.ogle.user
Message-ID <[email protected]>
Concerning detection of sunaudio on Solaris/x86, Goerzen
([email protected]) provided a configure workaround, and
then Hjort ([email protected]) wrote:

   Yes, apparently Solaris x86 is *-pc-solaris* and not *-sun-solaris*.
   Will update the configure.in file.

After adding the workaround so that sunaudio is selected, ogle dies on
initialization of audio:

   setinfo: Invalid argument
   FATAL[ogle_audio]: ogle_ao_init: 

corresponding to the code 

  /* set the audio format */
  if(ioctl(instance->fd, AUDIO_SETINFO, &info) == -1) {
    perror("setinfo");
    return -1;
  }

from ogle-0.9.2/libogleao/solaris_audio.c.  I tested with more than
one soundcard, one of which was an actual soundblaster 16.  Tests such
as "cat sound.au > /dev/audio" work.  Commenting the "return -1;"
causes the speakers to emit unintelligible noise.

This is Solaris 8 on x86.  I have not tested the most recent versions
on SPARC, but older versions worked properly.

Is there a fix?

--Darrel Hankerson [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.