Added small fix to make setPitch() use a float instead of the int it was using

This commit is contained in:
Raynaldo Rivera 2009-06-21 03:28:40 +00:00
parent deeecd0624
commit 65db7abebe
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ namespace cAudio
//!Used to set the pitch of the audio file
void cAudio::setPitch(float pitch)
{
alSourcei (source, AL_PITCH,pitch);
alSourcef (source, AL_PITCH,pitch);
}
//!Used to set the volume of the audio source