예제 #1
0
float AllegroMusicSample5::GetPitch() const
{
	if ( !m_pInstance )
	    return 0;
	return al_get_audio_stream_speed( m_pInstance );
}
예제 #2
0
파일: audio_stream.c 프로젝트: Luiji/allua
static int allua_audio_stream_get_speed(lua_State * L)
{
   ALLUA_audio_stream audio_stream = allua_check_audio_stream(L, 1);
   lua_pushnumber(L, al_get_audio_stream_speed(audio_stream));
   return 1;
}
예제 #3
0
float
get_sound_pitch(sound_t* sound)
{
	return al_get_audio_stream_speed(sound->stream);
}