Added small fix to make setPitch() use a float instead of the int it was using
This commit is contained in:
parent
deeecd0624
commit
65db7abebe
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue