Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6987 in orxonox.OLD for trunk/src/lib/sound


Ignore:
Timestamp:
Feb 2, 2006, 6:24:50 PM (19 years ago)
Author:
bensch
Message:

trunk: some minor fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/sound/ogg_player.cc

    r6872 r6987  
    4747}
    4848
    49 OggPlayer::~ OggPlayer()
    50 {
    51   this->release();
     49OggPlayer::~OggPlayer()
     50{
     51  //this->release();
    5252}
    5353
     
    8080  if((result = ov_open(oggFile, &oggStream, NULL, 0)) < 0)
    8181  {
    82     fclose(oggFile);
    83 
    8482    PRINTF(2)("Could not open Ogg stream. %s", errorString(result));
    8583    fclose(oggFile);
     
    204202bool OggPlayer::stream(ALuint buffer)
    205203{
     204  if (!this->trackLoaded)
     205    return false;
    206206  char pcm[BUFFER_SIZE];
    207207  int  size = 0;
Note: See TracChangeset for help on using the changeset viewer.