float AllegroSoundSample5::GetPitch() const
{
	return m_pInstance ? al_get_sample_instance_speed( m_pInstance ) : false;
}
Beispiel #2
0
static int allua_sample_instance_get_speed(lua_State * L)
{
   ALLUA_sample_instance si = allua_check_sample_instance(L, 1);
   lua_pushnumber(L, al_get_sample_instance_speed(si));
   return 1;
}