Logo
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
SharpKmyAudio::Sound Class Reference

#include <Sound.h>

Public Member Functions

void Release ()
 
bool play ()
 
bool play (bool loop, int typeIndex)
 
void stop ()
 
void pause ()
 
void setLoopInfo (int start, int end)
 
void setPan (float pan)
 
void setVolume (float volume)
 
void setTempo (float tempo)
 
float getPan ()
 
float getVolume ()
 
float getTempo ()
 
void setPosition (SharpKmyMath::Vector3 ^pos)
 
bool isPlaying ()
 
bool isAvailable ()
 
cli::array< s16 > getWaveform ()
 
u32 getSamplingRate ()
 
int getChannelCount ()
 

Static Public Member Functions

static Sound load (System::String ^path)
 
static void initializeSETypeCount (cli::array< int >^ seCounts)
 
static void setListenerMatrix (SharpKmyMath::Matrix4 mtx)
 
static void setDistanceScaleMaxDistance (float distanceOfZeroVolume)
 

Public Attributes

kmySound::WaveSound * obj = NULL
 

Member Function Documentation

◆ getChannelCount()

int SharpKmyAudio::Sound::getChannelCount ( )

◆ getPan()

float SharpKmyAudio::Sound::getPan ( )

◆ getSamplingRate()

u32 SharpKmyAudio::Sound::getSamplingRate ( )

◆ getTempo()

float SharpKmyAudio::Sound::getTempo ( )

◆ getVolume()

float SharpKmyAudio::Sound::getVolume ( )

◆ getWaveform()

cli::array< s16 > SharpKmyAudio::Sound::getWaveform ( )

◆ initializeSETypeCount()

void SharpKmyAudio::Sound::initializeSETypeCount ( cli::array< int >^  seCounts)
static

◆ isAvailable()

bool SharpKmyAudio::Sound::isAvailable ( )

◆ isPlaying()

bool SharpKmyAudio::Sound::isPlaying ( )

◆ load()

Sound SharpKmyAudio::Sound::load ( System::String ^  path)
static

◆ pause()

void SharpKmyAudio::Sound::pause ( )

◆ play() [1/2]

bool SharpKmyAudio::Sound::play ( )

◆ play() [2/2]

bool SharpKmyAudio::Sound::play ( bool  loop,
int  typeIndex 
)

◆ Release()

void SharpKmyAudio::Sound::Release ( )

◆ setDistanceScaleMaxDistance()

void SharpKmyAudio::Sound::setDistanceScaleMaxDistance ( float  distanceOfZeroVolume)
static

◆ setListenerMatrix()

void SharpKmyAudio::Sound::setListenerMatrix ( SharpKmyMath::Matrix4  mtx)
static

◆ setLoopInfo()

void SharpKmyAudio::Sound::setLoopInfo ( int  start,
int  end 
)

◆ setPan()

void SharpKmyAudio::Sound::setPan ( float  pan)

◆ setPosition()

void SharpKmyAudio::Sound::setPosition ( SharpKmyMath::Vector3 pos)

◆ setTempo()

void SharpKmyAudio::Sound::setTempo ( float  tempo)

◆ setVolume()

void SharpKmyAudio::Sound::setVolume ( float  volume)

◆ stop()

void SharpKmyAudio::Sound::stop ( )

Member Data Documentation

◆ obj

kmySound::WaveSound* SharpKmyAudio::Sound::obj = NULL