Esempio n. 1
0
//--------------------------------------------------------------
void AnimationSoundPlayer::playRandom(vector<int>& listSpeakers)
{
	// TODO : cache this!!!
	int nbSpeakers = listSpeakers.size();
	int speakers[nbSpeakers];
	for (int i=0;i<nbSpeakers;i++){
		speakers[i] = listSpeakers.at(i);
	}
	
	playRandom(speakers, nbSpeakers);
}
Esempio n. 2
0
void MorpheusAudio::playRandom() {
    playRandom(1);
}