<< Previous Topic | Next Topic >>Return to Index  

SDL Sound?

November 9 2001 at 3:46 AM
Rainer Koschnick 
from IP address 217.226.29.84

 
Hello,

I am wondering why you don't use SDL sound since it would

a) make porting to other systems easier
b) let people use their Desktop environments sound daemon under *nices (artsd, esd, ...)

Sure, I can use "artsdsp genertator" under KDE, but the sound is out-of-synch that way.

Regards,
Rainer

 
 Respond to this message   
AuthorReply
James Ponder

213.123.230.179

sdl sound

November 10 2001, 2:59 PM 

Generator gtk/SDL was written after the svgalib version and tcl/tk versions which both used the unix OSS sound routines.

Maybe someone would like to have a go at doing what you suggest - there is one complexity - it doesn't look as if you can read the state of the SDL output buffer which means Generator would not be able to do dynamic frame skipping based on sound output - perhaps calling gettimeofday() to get sub-second accuracy would do it...


 
 Respond to this message   
 
  << Previous Topic | Next Topic >>Return to Index  
 Copyright © 1999-2014 Network54. All rights reserved.   Terms of Use   Privacy Statement