[Plib-cvs] plib/src/sl slDSP.cxx,1.21,1.22
Brought to you by:
sjbaker
From: James J. <pu...@us...> - 2003-07-04 14:33:06
|
Update of /cvsroot/plib/plib/src/sl In directory sc8-pr-cvs1:/tmp/cvs-serv992 Modified Files: slDSP.cxx Log Message: Melchior Franz's critical repairs to the sound system: sound did not work on Mac, BSD, or Win32. Index: slDSP.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/sl/slDSP.cxx,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- slDSP.cxx 18 May 2003 13:45:04 -0000 1.21 +++ slDSP.cxx 4 Jul 2003 14:33:03 -0000 1.22 @@ -357,7 +357,7 @@ if ( error ) return 0.0f ; - return 0.0f ; + return 10.0f ; } @@ -557,7 +557,7 @@ float slDSP::secondsRemaining () { - return 0.0f ; + return 10.0f ; } @@ -721,7 +721,7 @@ if ( error ) return 0.0f ; - samples_remain = ALgetfillable(port) / 2 ; + samples_remain = ALgetfillable(port) ; return (float) samples_remain / (float) rate ; } @@ -1052,7 +1052,7 @@ return 0.0f; // sl doesn't use this, so I didn't write it! - return secLeft; + return 10.0f; } float slDSP::secondsUsed () |