static VF1 dm_addShortArraySoundSource(short[] samples) { if (samples == null) null; // Make sound source & add to audio output module final Var> source = new Var; source.set(stereoSamplesIterator_single(samples, r { dm_removeSoundSource(source!) })); dm_addSoundSource(source!); ret source!; }