Changeset 6987 in orxonox.OLD for trunk/src/lib/sound
- Timestamp:
- Feb 2, 2006, 6:24:50 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/sound/ogg_player.cc
r6872 r6987 47 47 } 48 48 49 OggPlayer::~ 50 { 51 this->release();49 OggPlayer::~OggPlayer() 50 { 51 //this->release(); 52 52 } 53 53 … … 80 80 if((result = ov_open(oggFile, &oggStream, NULL, 0)) < 0) 81 81 { 82 fclose(oggFile);83 84 82 PRINTF(2)("Could not open Ogg stream. %s", errorString(result)); 85 83 fclose(oggFile); … … 204 202 bool OggPlayer::stream(ALuint buffer) 205 203 { 204 if (!this->trackLoaded) 205 return false; 206 206 char pcm[BUFFER_SIZE]; 207 207 int size = 0;
Note: See TracChangeset
for help on using the changeset viewer.