Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7299 in orxonox.OLD for trunk/src/lib/sound/ogg_player.cc


Ignore:
Timestamp:
Apr 16, 2006, 5:48:40 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: some nice Class-Stuff

File:
1 edited

Legend:

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

    r7297 r7299  
    102102    return false;
    103103  }
     104  this->state |= FileOpened;
    104105
    105106  // acquiring the vorbis-properties.
    106107  vorbisInfo = ov_info(&oggStream, -1);
    107108  vorbisComment = ov_comment(&oggStream, -1);
    108   this->state |= FileOpened;
     109
    109110  if(vorbisInfo->channels == 1)
    110111    format = AL_FORMAT_MONO16;
     
    129130void OggPlayer::release()
    130131{
    131   this->printState();
    132132  if (this->state & SourceAllocated)
    133133  {
Note: See TracChangeset for help on using the changeset viewer.