- Timestamp:
 - May 25, 2006, 12:48:25 PM (19 years ago)
 - File:
 - 
          
- 1 edited
 
- 
          trunk/src/lib/sound/ogg_player.cc (modified) (3 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
trunk/src/lib/sound/ogg_player.cc
r7737 r7849 260 260 ogg->update(); 261 261 } 262 SDL_Delay(1 );262 SDL_Delay(10); 263 263 } 264 264 PRINTF(4)("End the AudioThread\n"); … … 325 325 326 326 alGetSourcei(source, AL_BUFFERS_PROCESSED, &processed); 327 327 328 if (DEBUG_LEVEL >= 3) 328 329 SoundEngine::checkError("OggPlayer::update()::alGetSourceI", __LINE__); … … 342 343 SoundEngine::checkError("OggPlayer::update()::queue", __LINE__); 343 344 } 345 346 int play; 347 alGetSourcei(source, AL_SOURCE_STATE, &play); 348 349 if (play != AL_PLAYING) 350 { 351 alSourcePlay(source); 352 PRINTF(2)("Filling Audio Gap\n"); 353 } 354 344 355 345 356 return active;  
Note: See TracChangeset
          for help on using the changeset viewer.
      


            






