Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1016709 // dm_addSoundSource

JavaX fragment (include)

import static x30_pkg.x30_util.VF1;

sbool dm_addSoundSource(VF1<double[]> source) {
  fO out = dm_audioOutputModule();
  if (out == null) ret false with print("Audio Output module not found");
  call(dm_getModule(out), 'addSource, source);
  dm_ownTimer(source, voidfunc(VF1<double[]> source) {
    call(dm_getModule(out), 'removeSource, source)
  });
  true;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016709
Snippet name: dm_addSoundSource
Eternal ID of this version: #1016709/3
Text MD5: c5cc81898262a44baf99cb53f5a5192b
Author: stefan
Category: javax / audio
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-09 10:06:55
Source code size: 372 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 310 / 370
Version history: 2 change(s)
Referenced in: [show references]