Hi Anders and thanks again for quick reply.

I do have ALSA and openal-soft-1.11.753. But I don't have the /etc/openal 
folder or .alsoftrc file I have instead a file called /etc/openalrc with the 
following content:



;;(define devices '(alsa native))



;; uncomment this to output via the 2nd soundcard

;;(define alsa-device "plughw:2,0")



What should I do?

Thanks.

Ekhlas.



On Tue, 16 Feb 2010 01:55:41 +0530  wrote

>On Mon, 15 Feb 2010, Ekhlas Sonu wrote:







> Hi,



>



>  I have been trying to run multiple instances of Flightgear from my 



> computer (RHEL-5 64 bit). I need to do that for my research. However, 



> only one instance of Flightgear runs while the other crashes giving this 



> error:



>



> I think the first instance of Flightgear is occupying audio resources 



> and not willing to share it as when one instance of FG is running, no 



> other audio function works. Can anyone tell me how to solve this 



> problem?







Yes, you have identified the problem correctly.



It appears that, for some reason, your OpenAL library is configured to use 



OSS (the very old Linux sound system) which usually only allowed one 



sound application at a time (though a few cards could support a /dev/dsp1 



too).







However, since we are not still in the 1990s your system probably have a 



more capable sound system available, perhaps Alsa.







If you have Alsa and OpenAL-soft you can put the following in your 



.alsoftrc file to configure it to use Alsa:







and...@sleipner:~$ cat .alsoftrc



format = AL_FORMAT_STEREO16



cf_level = 2



drivers = alsa



[alsa] # ALSA backend stuff



device = plug:dmix



capture = plug:dsnoop







See also /etc/openal/alsoft.conf (if you have that file).







If you have the other OpenAL library (Creative's old reference 



implementation) the file to create is .openalrc and it



has a different syntax which I have forgotten.







Cheers,







Anders



-- 



---------------------------------------------------------------------------



Anders Gidenstam



WWW: http://www.gidenstam.org/FlightGear/







------------------------------------------------------------------------------



SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,



Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW



http://p.sf.net/sfu/solaris-dev2dev



_______________________________________________



Flightgear-users mailing list



Flightgear-users@lists.sourceforge.net



https://lists.sourceforge.net/lists/listinfo/flightgear-users



------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to