예제 #1
0
bool GuiSound::IsPlaying() {
    //	if(ASND_StatusVoice(voice) == SND_WORKING || ASND_StatusVoice(voice) == SND_WAITING)
    //		return true;
    //	else
    //		return false;
    //return false;
    if(xenon_sound_get_free())
        return true;
    else
        return false;
}
예제 #2
0
/*
// return: how many bytes can be played without blocking
 */
static int get_space(void) {

        return xenon_sound_get_free();
}
예제 #3
0
static float get_delay(void) {
	return ((float) (ao_data.buffersize - xenon_sound_get_free())) / ((float) ao_data.bps);
}