qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Patch: allow Solaris to use OSS (OpenSound)


From: Ben Taylor
Subject: Re: [Qemu-devel] Patch: allow Solaris to use OSS (OpenSound)
Date: Mon, 26 Feb 2007 7:31:56 -0500

Hi Malc,

---- malc <address@hidden> wrote: 
> On Sun, 25 Feb 2007, Ben Taylor wrote:
> 
> >
> > As I seem to have hit a wall with the ES1370 driver in qemu not working
> > on Solaris, I have modified configure to allow Solaris to use 
> > OpenSoundSystems
> > audio.
> >
> > Is there any interest in having a default audio setting for SDL so that
> > you won't have to always put QEMU_SDL_AUDIO=oss before you start
> > qemu?
> 
> I don't quite get what does not work OSS or ES1370?

Using a precompiled version of qemu from opensolaris.org, that
binary didn't work with a Solaris Nevada guest with OSS audio
running on a Solaris Nevada host running native audio.

I think its a problem with the precompiled version of qemu I 
was using.

After I got the OSS version runnning on a different system with OSS, I
went back and recompiled the CVS code (enabling the debugging)
and the audio worked (though the debugging makes the timing of
the sound choppy).  Once recompiled without debugging, it worked
just fine.  I apologize for the false alarm.

> 
> An aside. To the best of my knowledge OSS on Solaris, Net/OpenBSD
> (FreeBSDs OSS is fine though) is not your usual OSS but some reduced
> version which among other things only allows one open per device
> (meaning that to do both DAC/ADC one has to use single file
> descriptor)

I have no idea.  I know it worked, but wouldn't know how to test for that
case you are talking about.


> From where i stand SDL as the default is a bad idea.

Solaris without OSS audio doesn't have any other options.
There is no ALSA, and AFAIK, there isn't an fmod either.

However, I still think it is probably a good idea to have the 
QEMU_SDL_AUDIO device default to the audio subsystem
that is defined (or defaulted to).  Thoughts?

Ben





reply via email to

[Prev in Thread] Current Thread [Next in Thread]