libmoldeo (Moldeo 1.0 Core)
1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
|
Clase base de sonido. More...
#include <moSoundManager.h>
Public Member Functions | |
moSound3D () | |
virtual | ~moSound3D () |
virtual MOboolean | Init () |
Inicializa el objeto. More... | |
virtual MOboolean | Finish () |
Finaliza el objeto, libera recursos. More... | |
virtual void | Play ()=0 |
virtual void | Stop ()=0 |
virtual void | Pause ()=0 |
virtual void | Rewind ()=0 |
virtual moStreamState | State ()=0 |
virtual void | Update ()=0 |
virtual void | SetVolume (float gain)=0 |
virtual float | GetVolume ()=0 |
virtual void | SetPitch (float pitch)=0 |
virtual float | GetPitch ()=0 |
virtual MOboolean | BuildEmpty (MOuint p_size)=0 |
virtual MOboolean | BuildFromBuffer (MOuint p_size, GLvoid *p_buffer)=0 |
virtual MOboolean | BuildFromFile (const moText &p_filename)=0 |
MOint | GetSourceId () |
MOuint | GetBufferId () |
virtual void | Final ()=0 |
virtual void | Frame (int frame)=0 |
virtual void | Repeat (int repeat)=0 |
void | SetPosition (float x, float y, float z) |
void | SetVelocity (float x, float y, float z) |
void | SetDirection (float x, float y, float z) |
Public Member Functions inherited from moSound | |
moSound () | |
virtual | ~moSound () |
virtual moText | GetName () |
virtual void | SetName (moText name) |
virtual moText | GetFileName () |
virtual void | SetFileName (moText filename) |
moSoundType | GetType () |
MOboolean | LoadFromFile (moText filename) |
MOboolean | SupportedFile (moText p_filename) |
virtual bool | IsPlaying () |
virtual MOulong | GetPosition () |
virtual MOulong | GetDuration () |
virtual MOulong | GetSampleCount () |
virtual void | Seek (int position, float rate=1.0) |
virtual bool | IsEOS () |
virtual void | SetBalance (float balance) |
virtual float | GetBalance () |
virtual void | SetEchoDelay (float delay) |
virtual float | GetEchoDelay () |
virtual void | SetEchoIntensity (float intensity) |
virtual float | GetEchoIntensity () |
virtual void | SetEchoFeedback (float feedback) |
virtual float | GetEchoFeedback () |
moAudioFormat & | GetAudioFormat () |
MOint | GetBufferSize () |
virtual void | PlaySample (MOint sampleid) |
MOint | GetActualSample () |
Public Member Functions inherited from moAbstract | |
moAbstract () | |
virtual | ~moAbstract () |
MOboolean | Initialized () |
Pregunta si está inicializado. More... | |
Public Attributes | |
moFile * | m_pFile |
moDataManager * | m_pDataMan |
moFileManager * | m_pFileMan |
MOuint | m_SourceId |
MOuint | m_BufferId |
Public Attributes inherited from moAbstract | |
MOboolean | m_bInitialized |
Valor de inicialización More... | |
Additional Inherited Members | |
Static Public Attributes inherited from moAbstract | |
static moDebug * | MODebug2 = new moDebug() |
Clase de impresión de errores para depuración More... | |
static moTextHeap * | MODebug = new moTextHeap() |
Lista de textos. More... | |
Protected Attributes inherited from moSound | |
moText | m_SoundName |
moSoundType | m_SoundType |
moText | m_FileName |
moSoundParam | m_SoundParam |
moGsGraph * | m_pAudioGraph |
moAudioFormat | m_AudioFormat |
float | m_Position |
float | m_Volume |
float | m_Pitch |
float | m_Balance |
float | m_EchoDelay |
panorama More... | |
float | m_EchoIntensity |
float | m_EchoFeedback |
bool | m_bIsPlaying |
MOint | m_BufferSize |
MOint | m_ActualSample |
MOint | m_OldSample |
moSound3D::moSound3D | ( | ) |
|
virtual |
Definition at line 321 of file moSoundManager.cpp.
|
pure virtual |
|
virtual |
Finaliza el objeto, libera recursos.
Función de finalización. Libera los recursos generados en la función de inicialización.
Reimplemented from moSound.
Definition at line 325 of file moSoundManager.cpp.
|
pure virtual |
|
inline |
Definition at line 259 of file moSoundManager.h.
|
pure virtual |
Reimplemented from moSound.
|
inline |
Definition at line 258 of file moSoundManager.h.
|
pure virtual |
Reimplemented from moSound.
|
virtual |
Inicializa el objeto.
Función de Inicialización. Todos los recursos manejados exclusivamente por este objeto son generados aquí.
Reimplemented from moSound.
Definition at line 331 of file moSoundManager.cpp.
|
pure virtual |
Reimplemented from moSound.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Reimplemented from moSound.
void moSound3D::SetDirection | ( | float | x, |
float | y, | ||
float | z | ||
) |
Definition at line 358 of file moSoundManager.cpp.
|
pure virtual |
Reimplemented from moSound.
void moSound3D::SetPosition | ( | float | x, |
float | y, | ||
float | z | ||
) |
Definition at line 340 of file moSoundManager.cpp.
void moSound3D::SetVelocity | ( | float | x, |
float | y, | ||
float | z | ||
) |
Definition at line 349 of file moSoundManager.cpp.
|
pure virtual |
Reimplemented from moSound.
|
pure virtual |
Reimplemented from moSound.
|
pure virtual |
Reimplemented from moSound.
|
pure virtual |
Reimplemented from moSound.
MOuint moSound3D::m_BufferId |
Definition at line 277 of file moSoundManager.h.
moDataManager* moSound3D::m_pDataMan |
Definition at line 273 of file moSoundManager.h.
moFile* moSound3D::m_pFile |
Definition at line 272 of file moSoundManager.h.
moFileManager* moSound3D::m_pFileMan |
Definition at line 274 of file moSoundManager.h.
MOuint moSound3D::m_SourceId |
Definition at line 276 of file moSoundManager.h.