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

KX_BlenderAudioDevice Class Reference

KX_BlenderAudioDevice.h. More...

#include <KX_BlenderAudioDevice.h>

List of all members.

Public Methods

 KX_BlenderAudioDevice (void)
 ~KX_BlenderAudioDevice ()
void Init (int * argc, char ** argv)
 When Blender starts, all initialization is supposed to have already happened... More...

void AddSound (char *soundName)
 Maybe not a good idea to add sounds on the fly? Maybe it is, but not now. More...

void SetSound (char *soundName )
 Another one that we probably don't need now. More...


Static Public Methods

void PlaySound (void* blob, void *sounddata,float obmatrix[4][4],bool looping)
 Loops back to play_sound. More...

void EndSound (void* blob, void *sounddata)
 Loops back to stop_sound. More...

void* FindSound (char *soundName)
 Find a named sound effect, return a pointer to the relevant data block. More...

char* FindSoundName (void *sounddata)
 Retrieve name of a file to go with thesound data pointer. More...


Detailed Description

KX_BlenderAudioDevice.h.

Version:

Id:
KX_BlenderAudioDevice.h,v 1.5 2001/01/08 17:00:11 coockie Exp

Definition at line 13 of file KX_BlenderAudioDevice.h.


Constructor & Destructor Documentation

KX_BlenderAudioDevice::KX_BlenderAudioDevice ( void ) [inline]
 

Definition at line 18 of file KX_BlenderAudioDevice.h.

KX_BlenderAudioDevice::~KX_BlenderAudioDevice ( ) [inline]
 

Definition at line 19 of file KX_BlenderAudioDevice.h.


Member Function Documentation

void KX_BlenderAudioDevice::AddSound ( char * soundName ) [inline]
 

Maybe not a good idea to add sounds on the fly? Maybe it is, but not now.

Definition at line 50 of file KX_BlenderAudioDevice.h.

void KX_BlenderAudioDevice::EndSound ( void * blob,
void * sounddata ) [static]
 

Loops back to stop_sound.

The (ob) pointer indicates a Blender bSound object.

Definition at line 27 of file KX_BlenderAudioDevice.cpp.

void * KX_BlenderAudioDevice::FindSound ( char * soundName ) [static]
 

Find a named sound effect, return a pointer to the relevant data block.

Definition at line 33 of file KX_BlenderAudioDevice.cpp.

char * KX_BlenderAudioDevice::FindSoundName ( void * sounddata ) [static]
 

Retrieve name of a file to go with thesound data pointer.

Definition at line 41 of file KX_BlenderAudioDevice.cpp.

void KX_BlenderAudioDevice::Init ( int * argc,
char ** argv ) [inline]
 

When Blender starts, all initialization is supposed to have already happened...

so just make sure we're called from within Blender.

Definition at line 25 of file KX_BlenderAudioDevice.h.

void KX_BlenderAudioDevice::PlaySound ( void * blob,
void * sounddata,
float obmatrix[4][4],
bool looping ) [static]
 

Loops back to play_sound.

The (ob) pointer indicates a Blender bSound object.

Definition at line 18 of file KX_BlenderAudioDevice.cpp.

void KX_BlenderAudioDevice::SetSound ( char * soundName ) [inline]
 

Another one that we probably don't need now.

Definition at line 56 of file KX_BlenderAudioDevice.h.


The documentation for this class was generated from the following files:
Generated at Thu Feb 1 13:03:38 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000