static short[] dm_recordSingleAudioChunk() { final new Var<short[]> var; dm_addAudioListener(voidfunc(short[] buf) { dm_removeAudioListener(this); var.set(cloneShortArray(buf)); }); ret waitUntilVarNotNull(var); }
Began life as a copy of #1017155
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1019321 |
| Snippet name: | dm_recordSingleAudioChunk |
| Eternal ID of this version: | #1019321/3 |
| Text MD5: | 51133d65f3a93e9cc1653d085ebff2ae |
| Author: | stefan |
| Category: | javax / audio |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-10-31 19:20:35 |
| Source code size: | 236 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 561 / 577 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |