mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
Use a typedef for the sound instance handle
This commit is contained in:
parent
3a39a92b93
commit
53718a5ca0
2 changed files with 5 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
#ifndef GAME_SOUND_SOUND_H
|
||||
#define GAME_SOUND_SOUND_H
|
||||
|
||||
#include "soundmanagerimp.hpp"
|
||||
#include "sound_output.hpp"
|
||||
|
||||
namespace MWSound
|
||||
{
|
||||
|
@ -20,7 +20,7 @@ namespace MWSound
|
|||
float mFadeOutTime;
|
||||
|
||||
protected:
|
||||
void *mHandle;
|
||||
Sound_Instance mHandle;
|
||||
|
||||
friend class Sound_Output;
|
||||
friend class OpenAL_Output;
|
||||
|
|
|
@ -3,11 +3,10 @@
|
|||
|
||||
#include <string>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "soundmanagerimp.hpp"
|
||||
|
||||
#include "../mwworld/ptr.hpp"
|
||||
|
||||
namespace MWSound
|
||||
{
|
||||
class SoundManager;
|
||||
|
@ -17,6 +16,8 @@ namespace MWSound
|
|||
|
||||
// An opaque handle for the implementation's sound buffers.
|
||||
typedef void *Sound_Handle;
|
||||
// An opaque handle for the implementation's sound instances.
|
||||
typedef void *Sound_Instance;
|
||||
|
||||
class Sound_Output
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue