float AllegroSoundSample5::GetPan() const
{
	return m_pInstance ? al_get_sample_instance_pan( m_pInstance ) : 0.0f;
}
Beispiel #2
0
static int allua_sample_instance_get_pan(lua_State * L)
{
   ALLUA_sample_instance si = allua_check_sample_instance(L, 1);
   lua_pushnumber(L, al_get_sample_instance_pan(si));
   return 1;
}