1 | import static x30_pkg.x30_util.VF1; |
2 | |
3 | sbool dm_addSoundSource(VF1<double[]> source) {
|
4 | fO out = dm_audioOutputModule(); |
5 | if (out == null) ret false with print("Audio Output module not found");
|
6 | call(dm_getModule(out), 'addSource, source); |
7 | dm_ownTimer(source, voidfunc(VF1<double[]> source) {
|
8 | call(dm_getModule(out), 'removeSource, source) |
9 | }); |
10 | true; |
11 | } |
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: | 688 / 757 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |