TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Classes | Macros | Typedefs | Enumerations | Functions
NiSound

Detailed Description

Classes

struct  iSoundBuffer
 Sound buffer interface. More...
 
struct  iSoundData
 Sound data interface. More...
 
struct  iSoundDataLoader
 Sound data loader plugin interface. More...
 
struct  iSoundDriverBufferDataSink
 Sound driver data callback. More...
 
struct  iSoundDriverBuffer
 Sound driver buffer. More...
 
struct  iSoundDriver
 Sound driver interface. More...
 
struct  iSoundFactory
 Sound factory interface. More...
 
struct  iSoundMixer
 Sound mixer interface. More...
 
struct  iSoundMixer3D
 Sound mixer 3d interface. More...
 
struct  iSoundSource
 Sound source interface. More...
 
struct  iSoundFormat
 Utility format object. More...
 

Macros

#define niSoundFormatBuild(BITS, CHANNELS, EXTRA)
 

Typedefs

typedef tU32 tSoundDriverCapFlags
 Sound driver caps flags. More...
 

Enumerations

enum  eSoundFormat {
  eSoundFormat_Unknown,
  eSoundFormat_Mono8,
  eSoundFormat_Stereo8,
  eSoundFormat_Mono16,
  eSoundFormat_Stereo16,
  eSoundFormat_ForceDWORD
}
 Common sound formats. More...
 
enum  eSoundDriverCapFlags {
  eSoundDriverCapFlags_Buffer,
  eSoundDriverCapFlags_Mixer,
  eSoundDriverCapFlags_Mixer3D,
  eSoundDriverCapFlags_ForceDWORD
}
 Sound driver caps. More...
 
enum  eSoundMode {
  eSoundMode_Normal2D,
  eSoundMode_Normal3D,
  eSoundMode_Relative3D,
  eSoundMode_ForceDWORD
}
 Sound mode. More...
 

Functions

tU32 SoundFormatBuild (tU8 anBits, tU8 anChannels, tU16 anExtra)
 
tU8 SoundFormatGetBits (tU32 anFormat)
 
tU8 SoundFormatGetChannels (tU32 anFormat)
 
tU16 SoundFormatGetExtra (tU32 anFormat)
 
tU32 SoundFormatSetBits (tU32 anFormat, tU8 anBits)
 
tU32 SoundFormatSetChannels (tU32 anFormat, tU8 anChannels)
 
tU32 SoundFormatSetExtra (tU32 anFormat, tU16 anExtra)
 
tU32 SoundFormatGetBase (tU32 anFormat)
 
tU32 SoundFormatGetSampleSize (tU32 anFormat)
 
tU32 SoundFormatGetFrameSize (tU32 anFormat)
 

Macro Definition Documentation

#define niSoundFormatBuild (   BITS,
  CHANNELS,
  EXTRA 
)

Typedef Documentation

typedef tU32 tSoundDriverCapFlags

Sound driver caps flags.

Enumeration Type Documentation

enum eSoundFormat

Common sound formats.

Enumerator
eSoundFormat_Unknown 

Unknown format.

eSoundFormat_Mono8 

Mono 8 bits.

eSoundFormat_Stereo8 

Stereo 8 bits.

eSoundFormat_Mono16 

Mono 16 bits.

eSoundFormat_Stereo16 

Stereo 16 bits.

eSoundFormat_ForceDWORD 
enum eSoundDriverCapFlags

Sound driver caps.

Enumerator
eSoundDriverCapFlags_Buffer 

Access directly the primary sound buffer.

eSoundDriverCapFlags_Mixer 

Own 2d sound mixer.

eSoundDriverCapFlags_Mixer3D 

Own 3d sound mixer.

eSoundDriverCapFlags_ForceDWORD 
enum eSoundMode

Sound mode.

Enumerator
eSoundMode_Normal2D 

Normal 2D sound playing.

Remarks
Ignores all 3d properties.
eSoundMode_Normal3D 

Normal 3D sound playing.

Remarks
Ignores panning.
eSoundMode_Relative3D 

Listener relative 3d sound playing.

Remarks
Ignores panning.
eSoundMode_ForceDWORD 

Function Documentation

tU32 ni::SoundFormatBuild ( tU8  anBits,
tU8  anChannels,
tU16  anExtra 
)
tU8 ni::SoundFormatGetBits ( tU32  anFormat)
tU8 ni::SoundFormatGetChannels ( tU32  anFormat)
tU16 ni::SoundFormatGetExtra ( tU32  anFormat)
tU32 ni::SoundFormatSetBits ( tU32  anFormat,
tU8  anBits 
)
tU32 ni::SoundFormatSetChannels ( tU32  anFormat,
tU8  anChannels 
)
tU32 ni::SoundFormatSetExtra ( tU32  anFormat,
tU16  anExtra 
)
tU32 ni::SoundFormatGetBase ( tU32  anFormat)
tU32 ni::SoundFormatGetSampleSize ( tU32  anFormat)
tU32 ni::SoundFormatGetFrameSize ( tU32  anFormat)