OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
sound_buffer.hpp
Go to the documentation of this file.
1 #ifndef GAME_SOUND_SOUND_BUFFER_H
2 #define GAME_SOUND_SOUND_BUFFER_H
3 
4 #include <string>
5 
6 #include "sound_output.hpp"
7 
8 namespace MWSound
9 {
11  {
12  public:
13  std::string mResourceName;
14 
15  float mVolume;
17 
19 
20  size_t mUses;
21 
22  Sound_Buffer(std::string resname, float volume, float mindist, float maxdist)
23  : mResourceName(resname), mVolume(volume), mMinDist(mindist), mMaxDist(maxdist), mHandle(0), mUses(0)
24  { }
25  };
26 }
27 
28 #endif /* GAME_SOUND_SOUND_BUFFER_H */
void * Sound_Handle
Definition: sound_output.hpp:14
Sound_Buffer(std::string resname, float volume, float mindist, float maxdist)
Definition: sound_buffer.hpp:22
Definition: sound_buffer.hpp:10
std::string mResourceName
Definition: sound_buffer.hpp:13
Sound_Handle mHandle
Definition: sound_buffer.hpp:18
float mMaxDist
Definition: sound_buffer.hpp:16
float mVolume
Definition: sound_buffer.hpp:15
size_t mUses
Definition: sound_buffer.hpp:20
float mMinDist
Definition: sound_buffer.hpp:16