CSoundImp Class


Overview

Note

The CSoundImp class handles sound

The structure used for this class is CSoundImp


Quick Reference

Quick Ref

void CSoundImp::CSoundImp(CSound* parent)

void CSoundImp::CSoundImp(CSound* parent, CResRef cNewResRef, int nNewRange, int nNewChannel, int nNewLooping, int nNewPriority, int bNewPositionedSound)

virtual void CSoundImp::~CSoundImp()

bool CSoundImp::CalcVariableVolume()

bool CSoundImp::CopyData()

bool CSoundImp::Create2DBuffer()

bool CSoundImp::Create3DBuffer()

bool CSoundImp::CreateBuffer()

int CSoundImp::ExclusivePlay(int bReplay)

bool CSoundImp::ExclusiveStop()

unsigned long CSoundImp::GetPlayTime()

int CSoundImp::IsSoundPlaying(unsigned char bInSoundUpdate)

int CSoundImp::Play(int bReplay)

int CSoundImp::Play(int nNewXCoordinate, int nNewYCoordinate, int nNewZCoordinate, int bReplay)

int CSoundImp::PlayWaiting()

void CSoundImp::ReleaseSound()

int CSoundImp::ResetVolume()

int CSoundImp::SetChannel(int nNewChannel, unsigned int nArea)

void CSoundImp::SetCoordinates(int nNewXCoordinate, int nNewYCoordinate, int nNewZCoordinate)

int CSoundImp::SetVolume(long nNewVolume)

int CSoundImp::Stop()


Constructors

Name

Description

CSoundImp::CSoundImp

Constructs a CSoundImp object

CSoundImp::CSoundImp

Destroys a CSoundImp object

CSoundImp::CSoundImp

Constructs a CSoundImp object

void CSoundImp::CSoundImp(CSound* parent);

Parameters

Remarks

Constructs a CSoundImp object


CSoundImp::CSoundImp

Constructs a CSoundImp object

void CSoundImp::CSoundImp(
   CSound* parent,
       CResRef cNewResRef,
       int nNewRange,
       int nNewChannel,
       int nNewLooping,
       int nNewPriority,
       int bNewPositionedSound);

Parameters

  • CSound* parent -

  • CResRef cNewResRef -

  • int nNewRange -

  • int nNewChannel -

  • int nNewLooping -

  • int nNewPriority -

  • int bNewPositionedSound -

Remarks

Constructs a CSoundImp object


CSoundImp::~CSoundImp

Destroys the CSoundImp object

virtual void CSoundImp::~CSoundImp();

Remarks

Destroys the CSoundImp object


Methods

Name

Description

CSoundImp::CalcVariableVolume

CSoundImp::CopyData

CSoundImp::Create2DBuffer

CSoundImp::Create3DBuffer

CSoundImp::CreateBuffer

CSoundImp::ExclusivePlay

CSoundImp::ExclusiveStop

CSoundImp::GetPlayTime

CSoundImp::IsSoundPlaying

CSoundImp::Play

CSoundImp::PlayWaiting

CSoundImp::ReleaseSound

CSoundImp::ResetVolume

CSoundImp::SetChannel

CSoundImp::SetCoordinates

CSoundImp::SetVolume

CSoundImp::Stop


CSoundImp::CalcVariableVolume

x;

Parameters

Return Value

Returns

Remarks


CSoundImp::CopyData

x;

Parameters

Return Value

Returns

Remarks


CSoundImp::Create2DBuffer

x;

Parameters

Return Value

Returns

Remarks


CSoundImp::Create3DBuffer

x;

Parameters

Return Value

Returns

Remarks


CSoundImp::CreateBuffer

x;

Parameters

Return Value

Returns

Remarks


CSoundImp::ExclusivePlay

x;

Parameters

Return Value

Returns

Remarks


CSoundImp::ExclusiveStop

x;

Parameters

Return Value

Returns

Remarks


CSoundImp::GetPlayTime

x;

Parameters

Return Value

Returns

Remarks


CSoundImp::IsSoundPlaying

x;

Parameters

Return Value

Returns

Remarks


CSoundImp::Play

x;

Parameters

Return Value

Returns

Remarks


CSoundImp::Play

x;

Parameters

Return Value

Returns

Remarks


CSoundImp::PlayWaiting

x;

Parameters

Return Value

Returns

Remarks


CSoundImp::ReleaseSound

x;

Parameters

Return Value

Returns

Remarks


CSoundImp::ResetVolume

x;

Parameters

Return Value

Returns

Remarks


CSoundImp::SetChannel

x;

Parameters

Return Value

Returns

Remarks


CSoundImp::SetCoordinates

x;

Parameters

Return Value

Returns

Remarks


CSoundImp::SetVolume

x;

Parameters

Return Value

Returns

Remarks


CSoundImp::Stop

x;

Parameters

Return Value

Returns

Remarks