Transpiled version (10091L) is out of date.
static VF1<double[]> dm_addShortArraySoundSource(short[] samples) { if (samples == null) null; // Make sound source & add to audio output module final Var<VF1<double[]>> source = new Var; source.set(stereoSamplesIterator_single(samples, r { dm_removeSoundSource(source!) })); dm_addSoundSource(source!); ret source!; }
Began life as a copy of #1018676
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026946 |
Snippet name: | dm_addShortArraySoundSource |
Eternal ID of this version: | #1026946/3 |
Text MD5: | 918855654d83dd11e7211638d4246512 |
Author: | stefan |
Category: | javax / stefan's os / audio |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-03 13:42:06 |
Source code size: | 337 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 233 / 316 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |