Exemple #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);
}
void MorpheusAudio::playRandom() {
    playRandom(1);
}