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

SDL Sound?

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


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.


 Respond to this message   
James Ponder

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  
Find more forums on Network54Create your own forum at Network54
 Copyright © 1999-2015 Network54. All rights reserved.   Terms of Use   Privacy Statement