Delete vorbis source in soundemitter
This commit is contained in:
		
							parent
							
								
									9249f04d39
								
							
						
					
					
						commit
						e69f14021a
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -203,6 +203,7 @@ struct SoundOpenHandler : FileSystem::OpenHandler
 | 
			
		|||
		ALDataSource *source = createVorbisSource(ops, false);
 | 
			
		||||
		buffer = new SoundBuffer;
 | 
			
		||||
		buffer->bytes = source->fillBufferFull(buffer->alBuffer);
 | 
			
		||||
		delete source;
 | 
			
		||||
#else
 | 
			
		||||
		Sound_Sample *sample = Sound_NewSample(&ops, ext, 0, STREAM_BUF_SIZE);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue