示例#1
0
void structSoundEditor :: v_play (double a_tmin, double a_tmax) {
	if (d_longSound.data)
		LongSound_playPart ((LongSound) data, a_tmin, a_tmax, theFunctionEditor_playCallback, this);
	else
		Sound_playPart ((Sound) data, a_tmin, a_tmax, theFunctionEditor_playCallback, this);
}
示例#2
0
void SoundEditor::play (double tmin, double tmax) {
	if (_longSound.data)
		LongSound_playPart ((LongSound) _data, tmin, tmax, playCallback, this);
	else
		Sound_playPart ((Sound) _data, tmin, tmax, playCallback, this);
}