Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

SoundProp Struct Reference

2D sound properties structure. More...

#include <IAudio.h>

List of all members.

Public Methods

 SoundProp ()
void Clear ()

Public Attributes

float m_fVolume
 Set the volume from VOLUME_MIN (0.0) to VOLUME_MAX (1.0).

float m_fPan
 Set the pan from PAN_LEFT (-1.0) to PAN_RIGHT (1.0).

float m_fPitch
 Sets the target pitch.

uint32 m_nReadCursor
 Sets the position of the read cursor.


Detailed Description

2D sound properties structure.

Structure containing general runtime-alterable properties of a 2D sound.

See also:
ISound::SetProperties(), ISound::GetProperties()


Constructor & Destructor Documentation

SoundProp::SoundProp ( ) [inline]
 

SoundProp constructor automatically calls Clear() to initialize the structure.


Member Function Documentation

void SoundProp::Clear ( ) [inline]
 

Sets all members either to an appropriate default value if it exists, or else to zero.


The documentation for this struct was generated from the following file:
Generated at Sun Jul 28 23:17:43 2002 for GAP Audio System by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001