]> git.mxchange.org Git - simgear.git/blobdiff - src/slDSP.cxx
Removed gpc from Libs since this is not "free ware" and the author has
[simgear.git] / src / slDSP.cxx
index fbb0da32b8200efa43068ee412532b5b598d6573..a8a96d4dadc96a80c23e46d8100c9457008d4db7 100644 (file)
@@ -336,6 +336,9 @@ void slDSP::sync ()
 
 void slDSP::stop ()
 {
+   if ( error )
+     return ;
+
    waveOutReset( hWaveOut );
 }
 
@@ -647,6 +650,9 @@ float slDSP::secondsUsed ()
 
 void slDSP::sync ()
 { 
+   if ( error )
+     return ;
+
   /* found this in the header file - but no description
    * or example for the long parameter.
    */