Ejemplo n.º 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;
}
Ejemplo n.º 2
0
/*
// return: how many bytes can be played without blocking
 */
static int get_space(void) {

        return xenon_sound_get_free();
}
Ejemplo n.º 3
0
static float get_delay(void) {
	return ((float) (ao_data.buffersize - xenon_sound_get_free())) / ((float) ao_data.bps);
}