Re: Re: No sound - Solaris x86

Jake Goerzen <[email protected]>
Newsgroups gmane.comp.video.ogle.user
Message-ID <[email protected]>
>Concerning audio on Solaris/x86, I see that the problem is that ogle
>is trying to set the sample rate to 48000 in
>
>  info.play.sample_rate = audio_info->sample_rate;
>
>but the SoundBlaster cards (except the AWE32?) supported in Solaris 8
>only go to 45000.  This gives
>
>      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.
>
>Substituting something lower for the sample rate allows ogle to
>continue, although the sound is of course too slow.
>
>It is possible that the "audio mixer audio personality module
>interface" on Solaris/x86 is supposed to be used by ogle (?):
>
>     The audio mixer supports the new  multi-stream  Codecs  that
>     have become available recently. Examples of these Codecs are
>     the  Crystal  Semiconductor   4410/4422   and   the   Aureal
>     8820/8830.  These devices have DSP engines on them that pro-
>     vide a great many features, such as sample rate  conversion.
>     Therefore  each  play/record channel is mapped to an indivi-
>     dual channel straight into the Codec  and  the  audio  mixer
>     doesn't  do  any  sample  rate  or  encoding  conversion, as
>     described below. However, the programming interfaces  remain
>     the same and applications cannot tell the difference between
>     a multi-stream Codec and a traditional Codec.
>
>This appears to be far beyond my feeble talents.  Is there another
>workaround?  Ogle does not seem to support rate conversion.  I'm
>uncertain if the AWE32 (one of the few cards listed in Sun's
>compatibility list) would solve the problem.  Maybe Solaris 9 has
>better hardware support


Darrel,

  Hi, have you tried using Jurgen Keil's sound driver located at 
http://www.tools.de/solaris/audio/  
  
  I'm using this one and sound is working for me.  Hope this helps.
  
Jake
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.