plib-users Mailing List for PLIB (Page 42)
Brought to you by:
sjbaker
You can subscribe to this list here.
2000 |
Jan
|
Feb
(24) |
Mar
(54) |
Apr
(29) |
May
(58) |
Jun
(29) |
Jul
(675) |
Aug
(46) |
Sep
(40) |
Oct
(102) |
Nov
(39) |
Dec
(40) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(45) |
Feb
(23) |
Mar
(30) |
Apr
(64) |
May
(28) |
Jun
(61) |
Jul
(55) |
Aug
(35) |
Sep
(24) |
Oct
(23) |
Nov
(21) |
Dec
(67) |
2002 |
Jan
(98) |
Feb
(23) |
Mar
(13) |
Apr
(23) |
May
(43) |
Jun
(45) |
Jul
(54) |
Aug
(5) |
Sep
(56) |
Oct
(17) |
Nov
(53) |
Dec
(26) |
2003 |
Jan
(67) |
Feb
(36) |
Mar
(22) |
Apr
(35) |
May
(26) |
Jun
(35) |
Jul
(10) |
Aug
(49) |
Sep
(17) |
Oct
(3) |
Nov
(30) |
Dec
(10) |
2004 |
Jan
(12) |
Feb
(18) |
Mar
(52) |
Apr
(50) |
May
(22) |
Jun
(13) |
Jul
(16) |
Aug
(23) |
Sep
(21) |
Oct
(29) |
Nov
(6) |
Dec
(26) |
2005 |
Jan
(9) |
Feb
(19) |
Mar
(13) |
Apr
(19) |
May
(12) |
Jun
(8) |
Jul
(6) |
Aug
(10) |
Sep
(22) |
Oct
(3) |
Nov
(6) |
Dec
(17) |
2006 |
Jan
(10) |
Feb
(8) |
Mar
(5) |
Apr
(5) |
May
(6) |
Jun
(8) |
Jul
(8) |
Aug
(13) |
Sep
(2) |
Oct
(1) |
Nov
(9) |
Dec
(6) |
2007 |
Jan
(3) |
Feb
(4) |
Mar
(12) |
Apr
(2) |
May
(6) |
Jun
|
Jul
(22) |
Aug
|
Sep
(9) |
Oct
(13) |
Nov
|
Dec
|
2008 |
Jan
(1) |
Feb
(6) |
Mar
(2) |
Apr
(4) |
May
(15) |
Jun
(28) |
Jul
(8) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2009 |
Jan
(5) |
Feb
(5) |
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
(2) |
Apr
(7) |
May
(4) |
Jun
(2) |
Jul
(5) |
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
2011 |
Jan
(7) |
Feb
(2) |
Mar
(1) |
Apr
|
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
(1) |
Nov
(4) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Chris <cc...@co...> - 2003-01-19 03:34:02
|
Hi, I've written a TIFF loader for PLIB. Is anyone interested? I can't put it in CVS myself. I wrote it for 1.6.0. Is that a problem? Should I get it going in 1.7.0? Chris Arena Virginia Beach, VA |
From: SkyFlash <sky...@ch...> - 2003-01-19 02:43:02
|
I read you can use PLIB with SDL.... anyone ever did that? The problem is that my app already uses SDL and SDL_Net and there is no way to get it out of it, and I cant seem to get both GLUT AND SDL working together peacefully. Which I actually didnt even expect. So, how can I use ssg and draw in the SDL screen? Are there any other things I need to do / need to think of? Is there maybe a tutorial page somewhere from someone that did something daring like that? Lol SkyFlash |
From: SkyFlash <sky...@ch...> - 2003-01-18 03:32:02
|
Ok, thx a lot for the camera help, it worked out great and I got now the camera like i wanted it... Now the next thing.... our model designer created an Orc with Animation. How can I load an animation into PLIB and how do I call the different animations for the model? Like for example the Orc has an anim WALK and ATTACK and WAVE. How can I load those, or, where are examples for that?? Or better, start those, cause I can load the orc without problems. SkyFlash |
From: SkyFlash <sky...@ch...> - 2003-01-18 01:10:21
|
>There is SSG documentation on the web site - and several example >programs. >It's on the web site. Go to http://plib.sf.net/ssg Actually I was looking for something like a doxygen doc where the API calls are explained in detail, I already read what you stated... But I will manage, I can learn from source pretty well. :) >I don't know Diablo. I only write computer games - I don't have time >to play them too! :-) LOL thats cool... but there are only some games you need to play, and D2 is one of it. ;) If you like the genre that is of course.. :) SkyFlash |
From: Steve B. <sjb...@ai...> - 2003-01-18 00:47:16
|
SkyFlash wrote: > Alright, i am experimenting with PLIB right now, but I am kinda lost > without docu or help.... There is SSG documentation on the web site - and several example programs. > I wanna do a few things and how no clue how... > > - Create a floor, which is basicly flat and textured, if possible not > from a 3D model but just from code. Look at (for example) src/ssgAux/ssgaShapes.cxx - look at 'ssgaCube::regenerate()' on about line 184. That builds a cube without loading it from disk. > - Have a camera which is locked in an isometric position, looking down > at a certain angle onto a defined point. There are at least four ways: ssgSetCamera ( sgMat4 mat ) ; -- Give it a matrix describing it's position and orientation. ssgSetCamera ( sgCoord *coord ) ; -- Give it an sgCoord (which contains X,Y,Z and H,P,R) ssgSetCameraLookAt ( sgVec3 eyepoint, sgVec3 center ) ; -- Give it a position and a point in space to look towards. ssgSetCameraLookAt ( sgVec3 eyepoint, sgVec3 center, sgVec3 up ) ; -- Ditto and also specify the "up" direction. > - Have that camera rotate on keypress around that defined point to keep > the angle on it. Read the keypress in whatever way suits your application, figure out the new position - call 'ssgSetCameraLookAt' each time it moves to reposition it and/or it's "look at" point. > Now I know SOME 3D math, but I have no clue how to set the coordinates > for the camera, how to set the angle for the camera, how to make it look > towards some point in space. Which functions are used for that and whats > the argument list? Or better, where can I look up that information and > also for the rest of the API? It's on the web site. Go to http://plib.sf.net/ssg > I pretty much want the setup like in Diablo II, if that helps to > visualize what I want, just that the camera can be rotated around the > center point. (where the map is centered on) I don't know Diablo. I only write computer games - I don't have time to play them too! :-) > For the floor, I just need some floor so I can see when I move the > camera and of course later for the game as a real floor. :P Yep. If you want, you can download either 'Tuxkart' or 'TuxAQFH' and 'steal' one of the 'levelXXX.ac' files to load initially. It's a lot more interesting than just a flat plane - and you can load it with just a single 'ssgLoad ( filename )' call. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net |
From: SkyFlash <sky...@ch...> - 2003-01-17 23:14:57
|
Alright, i am experimenting with PLIB right now, but I am kinda lost without docu or help.... I wanna do a few things and how no clue how... - Create a floor, which is basicly flat and textured, if possible not from a 3D model but just from code. - Have a camera which is locked in an isometric position, looking down at a certain angle onto a defined point. - Have that camera rotate on keypress around that defined point to keep the angle on it. Now I know SOME 3D math, but I have no clue how to set the coordinates for the camera, how to set the angle for the camera, how to make it look towards some point in space. Which functions are used for that and whats the argument list? Or better, where can I look up that information and also for the rest of the API? I pretty much want the setup like in Diablo II, if that helps to visualize what I want, just that the camera can be rotated around the center point. (where the map is centered on) For the floor, I just need some floor so I can see when I move the camera and of course later for the game as a real floor. :P Thx for any help! SkyFlash |
From: Norman V. <nh...@ca...> - 2003-01-17 02:49:45
|
SkyFlash writes: >> > >For optional use of PNG textures, download the glpng library from > >http://www.wyatt100.freeserve.co.uk/download.htm and un-comment > >the following line. > > Sigh thats another lib I need to add to my never ending required library > list. Is there any way around it? Like me converting them by hand? Well if you want to load PNG files will also need libpng which is quite a bit larger then the glpng library :-) FWIW I use xnview to convert between file formats on windows http://www.xnview.com/ Norman |
From: SkyFlash <sky...@ch...> - 2003-01-17 01:58:57
|
>The instructions for enabling PNG texture support are in >$PLIB / src / ssg / ssgconf.h Uh! Does this mean I need to read the source code of PLIB for instructions, or is there a documentation of the API somewhere? >For optional use of PNG textures, download the glpng library from >http://www.wyatt100.freeserve.co.uk/download.htm and un-comment >the following line. Sigh thats another lib I need to add to my never ending required library list. Is there any way around it? Like me converting them by hand? |
From: Norman V. <nh...@ca...> - 2003-01-17 00:54:37
|
SkyFlash writes: > Hi, I am new to PLIB and have a problem loading a 3d model. Welcome :-) > I created a test app to see how PLIB works, and converted the viewer > into a nice OOP app that loads a model and display it. It works fine, > except I cant load textured models. > The textures are in the PNG format, The instructions for enabling PNG texture support are in $PLIB / src / ssg / ssgconf.h /// repeated below HTH Norman /* For optional use of PNG textures, download the glpng library from http://www.wyatt100.freeserve.co.uk/download.htm and un-comment the following line. */ #undef SSG_LOAD_PNG_SUPPORTED |
From: SkyFlash <sky...@ch...> - 2003-01-17 00:35:25
|
Hi, I am new to PLIB and have a problem loading a 3d model. I created a test app to see how PLIB works, and converted the viewer into a nice OOP app that loads a model and display it. It works fine, except I cant load textured models. The textures are in the PNG format, and the loader says he cannot read it and ask whether I installed ImageMagick. Of course I didnt, as I am on Windows and not on Linux, so I got ImageMagick for Windows and installed it. Started it again, same message. Thought maybe it auto-detects the DLLs and converts by itself or something. Well, bad thought. :P Then it says I could convert them to rgb myself and reload the model, so I typed: convert texture.png texture.rgb and sure enough I got a nice RGB file. So I reloaded the model as told and it said: Sorry, unknown magic byte. Couldnt recognize magic byte 0x0000. Wondering why its 0x0000 I loaded it with my hex editor and guess what, the whole picture consisted of 00. Great, great tool, this ImageMagick stuff. :P Now, how can I load my png files into PLIB? OR, how can I convert them to RGB? Also, why was the rgb format chosen, its like the most unsupported format I know for graphics? SkyFlash |
From: Steve W. <st...@sh...> - 2003-01-14 01:52:00
|
On Mon, 13 Jan 2003, John K. Grant wrote: > i'm new. can someone tell me what i'm doing wrong. it looks like i'm missing a > file after a fresh download of the examples tarball. > > configure: error: can not find install-sh or install.sh in . ./.. ./../.. This has been discussed here before... just copy the files that are missing from the main plib archive. |
From: John K. G. <jg...@ia...> - 2003-01-13 18:00:36
|
hi, i'm new. can someone tell me what i'm doing wrong. it looks like i'm missing a file after a fresh download of the examples tarball. here's what it looks like: [root@sniper plib_examples-1.6.1]# ./configure loading cache ./config.cache configure: error: can not find install-sh or install.sh in . ./.. ./../.. thanks for any help! -john John K. Grant jg...@ia... |
From: <ha...@sl...> - 2003-01-03 00:43:16
|
Though it allows multiple opens, there is a limited number (I forget, is it 4? 8? 16?) But, realistically, the limit will never be a problem for most people. I certainly agree with what you've said here.. Gotta love those queued up "message announcements" from icq that all hit me when I get a pause between songs in xmms. -- Brian >ha...@sl... wrote: >> You can get a SB Live Value for like 30 bucks these days, I'd suggest that >> over the sound blaster pci 128 (sb pci 128) cards. The driver allows >> multiple opens on /dev/dsp ... > >Ooohhhh!!! Nice! > >That's so much better than the solution that some window managers >provide where there is a sound mixing deamon that hogs /dev/dsp and >doesn't let programs that are not written for that window manager >work. > >I may just head down to Fry's and score a couple of those to replace >the Ensoniq's in my machines. > >---------------------------- Steve Baker ------------------------- >HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> >HomePage : http://www.sjbaker.org >Projects : http://plib.sf.net http://tuxaqfh.sf.net > http://tuxkart.sf.net http://prettypoly.sf.net > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >plib-users mailing list >pli...@li... >https://lists.sourceforge.net/lists/listinfo/plib-users > -- Brian Hayward |
From: <ia...@sh...> - 2003-01-02 21:31:58
|
> ha...@sl... wrote: > > You can get a SB Live Value for like 30 bucks these days, I'd > suggest that > > over the sound blaster pci 128 (sb pci 128) cards. The driver > allows > > multiple opens on /dev/dsp ... > > Ooohhhh!!! Nice! > > That's so much better than the solution that some window managers > provide where there is a sound mixing deamon that hogs /dev/dsp and > doesn't let programs that are not written for that window manager > work. > > I may just head down to Fry's and score a couple of those to replace > the Ensoniq's in my machines. > > ---------------------------- Steve Baker ------------------------- > HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> > HomePage : http://www.sjbaker.org > Projects : http://plib.sf.net http://tuxaqfh.sf.net > http://tuxkart.sf.net http://prettypoly.sf.net Hmmm! Something tells me I should just go out and purchase the SB Live card -- so that's what I did! I found one for $55 Canadian. I should be all set now. Cheers, Iaian |
From: Curtis L. O. <cu...@me...> - 2003-01-02 20:22:45
|
David Giraud writes: > ha...@sl... wrote: > > >You can get a SB Live Value for like 30 bucks these days, I'd suggest that > >over the sound blaster pci 128 (sb pci 128) cards. The driver allows > >multiple opens on /dev/dsp and it also allows you to mute input's while > >you record from that particular input. > > > Do you guys think that this card would be a good choice? This looks like the one ... $23 looks like a great price too ... You would use the emu10k1 driver under linux ... > http://www.liquidationetc.com/13/15490.htm?460 > > I'm very interested in the "multiple driver" feature of this card (or > should I say drivers). Would the above card let me have sound in > FlightGear and open multiple streams? > > -David Giraud > > P.S. These things come with headphone ports right? :-) As I understand it, yes to all of the above ... Curt. -- Curtis Olson IVLab / HumanFIRST Program FlightGear Project Twin Cities cu...@me... cu...@fl... Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org |
From: David G. <xh...@ma...> - 2003-01-02 20:15:02
|
ha...@sl... wrote: >You can get a SB Live Value for like 30 bucks these days, I'd suggest that >over the sound blaster pci 128 (sb pci 128) cards. The driver allows >multiple opens on /dev/dsp and it also allows you to mute input's while >you record from that particular input. > Do you guys think that this card would be a good choice? http://www.liquidationetc.com/13/15490.htm?460 I'm very interested in the "multiple driver" feature of this card (or should I say drivers). Would the above card let me have sound in FlightGear and open multiple streams? -David Giraud P.S. These things come with headphone ports right? :-) |
From: Curtis L. O. <cu...@me...> - 2003-01-02 17:49:47
|
Steve Baker writes: > ha...@sl... wrote: > > You can get a SB Live Value for like 30 bucks these days, I'd suggest that > > over the sound blaster pci 128 (sb pci 128) cards. The driver allows > > multiple opens on /dev/dsp ... > > Ooohhhh!!! Nice! > > That's so much better than the solution that some window managers > provide where there is a sound mixing deamon that hogs /dev/dsp and > doesn't let programs that are not written for that window manager > work. > > I may just head down to Fry's and score a couple of those to replace > the Ensoniq's in my machines. You will be glad you did, even though you may not want a jet engine roaring at the same time as your mp3's, it allows you to have multiple apps running at the same time and gives you control over when and how to start, stop, or silence your individual apps, rather than being forced to close out every other audio app in order to play a hand of solitaire or shoot an approach in a simulator or blow up a couple bad guys between letting the dogs in our out. Curt. -- Curtis Olson IVLab / HumanFIRST Program FlightGear Project Twin Cities cu...@me... cu...@fl... Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org |
From: Steve B. <sjb...@ai...> - 2003-01-02 17:22:42
|
ha...@sl... wrote: > You can get a SB Live Value for like 30 bucks these days, I'd suggest that > over the sound blaster pci 128 (sb pci 128) cards. The driver allows > multiple opens on /dev/dsp ... Ooohhhh!!! Nice! That's so much better than the solution that some window managers provide where there is a sound mixing deamon that hogs /dev/dsp and doesn't let programs that are not written for that window manager work. I may just head down to Fry's and score a couple of those to replace the Ensoniq's in my machines. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net |
From: Steve B. <sjb...@ai...> - 2003-01-02 17:13:15
|
Ben Woodhead wrote: > I would recommend creative sound blaster myself. The pci ensonics are really > cheap and work well. But I would stick with creative labs. They have some > support for the cards in linux. I have ensonic's in my two PC's at home - the support for them is OK too - although in the SuSE 8.0/8.1 distro's, I couldn't get their analog joystick support to work. That's weird because it's been fine in earlier releases. However, I have USB joysticks now - and that's becoming the standard - it's getting hard to buy analog joysticks anymore. Creative sound blaster probably has the best support of all though. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net |
From: <ha...@sl...> - 2003-01-02 13:37:39
|
You can get a SB Live Value for like 30 bucks these days, I'd suggest that over the sound blaster pci 128 (sb pci 128) cards. The driver allows multiple opens on /dev/dsp and it also allows you to mute input's while you record from that particular input. The es1370 driver doesn't let you do that. MythTV (www.mythtv.org) requires this ability (it provides software to let you do television time-shifting and pausing of live tv). I recently yanked my sound blaster pci 128 and replaced it with an official sb live value I got for $30 including shipping (found by searching www.pricewatch.com) -- Brian On Thu, 2 Jan 2003, Ben Woodhead wrote: >I would recommend creative sound blaster myself. The pci ensonics are really >cheap and work well. But I would stick with creative labs. They have some >support for the cards in linux. > >Later, Ben > >----- Original Message ----- >From: "David Giraud" <xh...@ma...> >To: <pli...@li...> >Sent: Thursday, January 02, 2003 1:29 AM >Subject: Re: [Plib-users] Onboard Sound Support? > > >> So if I were to buy a new soundcard for my linux comp (cheap as possible) >what would you guys recommend? >> >> -David Giraud >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> plib-users mailing list >> pli...@li... >> https://lists.sourceforge.net/lists/listinfo/plib-users >> > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >plib-users mailing list >pli...@li... >https://lists.sourceforge.net/lists/listinfo/plib-users > -- Brian Hayward |
From: Curtis L. O. <cu...@me...> - 2003-01-02 12:44:29
|
David Giraud writes: > So if I were to buy a new soundcard for my linux comp (cheap as > possible) what would you guys recommend? I've had really good luck with the sound blaster lives. The drivers allow more than one program to play sound and everything get's mixed appropriately on the card ... this is really convenient. If you have your mp3 player running for instance, you can still start up flightgear and it can still play sound too ... rather than getting locked out or starting up with sound disabled. Regards, Curt. -- Curtis Olson IVLab / HumanFIRST Program FlightGear Project Twin Cities cu...@me... cu...@fl... Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org |
From: Ben W. <za...@ec...> - 2003-01-02 07:35:12
|
I would recommend creative sound blaster myself. The pci ensonics are really cheap and work well. But I would stick with creative labs. They have some support for the cards in linux. Later, Ben ----- Original Message ----- From: "David Giraud" <xh...@ma...> To: <pli...@li...> Sent: Thursday, January 02, 2003 1:29 AM Subject: Re: [Plib-users] Onboard Sound Support? > So if I were to buy a new soundcard for my linux comp (cheap as possible) what would you guys recommend? > > -David Giraud > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > |
From: David G. <xh...@ma...> - 2003-01-02 06:29:59
|
So if I were to buy a new soundcard for my linux comp (cheap as possible) what would you guys recommend? -David Giraud |
From: Iaian B. <ia...@sh...> - 2003-01-01 21:50:20
|
Curt is L. Olson wrote: > I messed around with an onboard audio chip once (forget which one.) > The Linux drivers for it really sucked. They only supported a small > subset of possible sound samples (i.e. certain fixed sample rates, > etc.) I spent about 2 hours on it, gave up, disabled the onboard > audio, threw in a sound blaster live, and was done with it. So, my > best guess is that the drivers you have found for your chipset are > incomplete and probably only support one sampling rate (which is > probably different from the one FlightGear is trying to use.) > > Regards, > > Curt. I switched over to the ALSA driver for my onboard audio chip and I did not receive the 8 bit per sample warning. However, now when I try the plib examples and FlightGear I get the following warning messages respectively "slDSP: write: Resource temporarily unavailable" and "WARNING: slScheduler: Too many pending callback events! slDSP: write: Resource temporarily unavailable". These warnings along with a similar audio configuration were previously reported by Felix Kuhling back on July 25, 2002. In his mail, Felix provided a patch that fixed his problem. Is that patch still available and if so can I get it? While the patch may not be the best approach to fix my audio problem (ie. the source of the problem appears to be the limitations of the audio driver itself) it might be enough to get FlightGear running with sound which is my ultimate goal. Note I did try the OSS/Linux driver and I did get sound from both the plib examples and FlightGear. However, I experienced annoying crackling noises which increased in intensity when moving windows around the desktop. I messed around with the driver configurations as suggested in the OSS/Linux mailing but the crackling noise did not go away. Thanks, Iaian |
From: Steve B. <sjb...@ai...> - 2003-01-01 14:47:33
|
Curtis L. Olson wrote: > > Yeah, that sounds pretty tempting. I haven't taken a look at OpenAL > at all yet, but I have a project here where I need to generate two > distinct audio streams from a single application (either to the > left/right stereo channels or to two separate sound cards, or two apps > to two sound cards, or something ...) Dunno if OpenAL supports two sound cards - and you might get significant cross-talk if you try to generate two utterly unique sounds streams using stereo on a single card. For SL to be able to drive two cards, you'd have to create two instances of slDSP - each driving a different /dev/dsp. That's possible in theory but I've never heard of anyone trying it. Since only the very lowest levels of SL support stereo (slDSP only), I don't think SL would help you much with trying out a stereo solution with one sound card. OpenAL would probably make life very difficult too. OpenAL is not a stereo system from the point of view of the API. It's a 3D sound system that lets you position sound sources in 3D space - it figures out how best to play those sounds on however many physical channels you have. Placing one sound source off to each side of the listener won't necessarily produce a clean separation of the audio in stereo space. Depending on how much manipulation of these sound streams you need in realtime, I think you'd be better off coding down at the OSS level. Of course if you need portability (eg to Windoze platforms) then that's no good either. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net |