[Mono-dev] Moonlight and OSS4 sound ubuntu 9.10 and opensuse11.2

ted leslie tleslie at tcn.net
Wed Jun 30 13:05:08 EDT 2010


Putting

#  $HOME/.asoundrc

 pcm.!default
 {
   type oss
   device /dev/dsp
 }
 mixer.!default
 {
   type oss
   device /dev/dsp
 }

fixed the sound issue of moonlight on oss4,
however the game now is unresponsive for the first 10 seconds,
then runs 1/3 the normal speed (while background music plays),
then runs normal speed once background music stops, but 
action sound play fine still. 
Seems like the constant streaming of background music in the game
causes issue (but cpu/resources of computer were not strained).
This may not be a mono/moonlight issue at this point.
Just posting this, as a "search hit", if anyone else has same issue,
they can resolve with above  .asoundrc entry.

tl


On Tue, 29 Jun 2010 22:17:01 -0400
ted leslie <tleslie at tcn.net> wrote:

> 
> In setting up a new opensuse 11.2 install I installed google chrome and installed the preview moonlight
> (without even thinking, as I thought moonlight didn't work with normal install with chrome),
> it worked!!
> But on the dr. dobbs  
> http://dobbschallenge2.com/
> silverlight/moonlight game the sound garbled up. (ran ok for 10 seconds then went all freaky).
> This was probably do to it running in a vmware instance.
> Youtube did the same (had sound issue).
> 
> So I installed oss4 as i really prefer it anyways over pulseAudio/alsa.
> Youtube now works great, but there is no sound in moonlight.
> 
> I also tried the same game in my native host os ubuntu 9.10,  firefox and chrome (same test as in opensuse11.2),
> and I also have OSS4 as my sound layer there as well. Also no sound in moonlight (dobbs game),
> but sound work fine for everything else, flash, and wav, etc.(using this set up for over a year).
> 
> I can dig further, but perhaps someone "in the know" on moonlight, can very easily comment on why
> sound doesn't work on linux with OSS4. Is it only made to work with alsa/pulse? It there a solution?
> 
> One of the  really poor things about linux is no good standard sound layer.
> I have had set ups were pulseaudio works, other set ups where is pure broken.
> I have used alsa standalone, but had little luck with multiplexing sounds.
> I know others swear by Jack.
> For me OSS4 works perfect. But as I see now, not with moonlight :(
> I am thinking, if everything else works fine in browser (through to oss4), why not moonlight?
> 
> --
> ted leslie <tleslie at tcn.net>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 


-- 
ted leslie <tleslie at tcn.net>


More information about the Mono-devel-list mailing list