mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 21:26:48 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
	
		
			671 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
	
		
			671 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef GAME_SOUND_SOUND_BUFFER_H
 | |
| #define GAME_SOUND_SOUND_BUFFER_H
 | |
| 
 | |
| #include <string>
 | |
| 
 | |
| #include "soundmanagerimp.hpp"
 | |
| #include "sound_output.hpp"
 | |
| #include "loudness.hpp"
 | |
| 
 | |
| #include "../mwworld/ptr.hpp"
 | |
| 
 | |
| namespace MWSound
 | |
| {
 | |
|     class Sound_Buffer
 | |
|     {
 | |
|     public:
 | |
|         std::string mResourceName;
 | |
| 
 | |
|         float mVolume;
 | |
|         float mMinDist, mMaxDist;
 | |
| 
 | |
|         Sound_Handle mHandle;
 | |
| 
 | |
|         size_t mUses;
 | |
| 
 | |
|         Sound_Buffer(std::string resname, float volume, float mindist, float maxdist)
 | |
|           : mResourceName(resname), mVolume(volume), mMinDist(mindist), mMaxDist(maxdist), mHandle(0), mUses(0)
 | |
|         { }
 | |
|     };
 | |
| }
 | |
| 
 | |
| #endif /* GAME_SOUND_SOUND_BUFFER_H */
 |