1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
Tom Lint b0dd58a08b Added file comments and TypeInfos
Added some implementations
Added auto_ptr and gc_ptr for easier memory management
2013-08-20 11:14:55 +02:00

54 lines
1.3 KiB
C++

/*****************************************************************************
* Enums.h *
* *
* XFX::Audio enumerations definition file *
* Copyright (c) XFX Team. All Rights Reserved *
*****************************************************************************/
#ifndef _XFX_AUDIO_ENUMS_
#define _XFX_AUDIO_ENUMS_
namespace XFX
{
namespace Audio
{
struct AudioChannels
{
enum type
{
// Indicates audio data is contained in one channel.
Mono = 1,
// Indicates audio data is contained in two channels.
Stereo = 2
};
};
struct AudioStopOptions
{
enum type
{
AsAuthored,
Immediate
};
};
struct SoundState
{
enum type
{
// The SoundEffectInstance is playing.
Playing,
// The SoundEffectInstance is paused.
Paused,
// The SoundEffectInstance is stopped.
Stopped
};
};
typedef AudioChannels::type AudioChannels_t; // Defines the number of audio channels in the audio data.
typedef AudioStopOptions::type AudioStopOptions_t; // Controls how Cue objects should stop when Cue::Stop is called.
typedef SoundState::type SoundState_t; // Current state (playing, paused, or stopped) of a SoundEffectInstance.
}
}
#endif //_XFX_AUDIO_ENUMS_