1 | sclass SilenceAudioInputStream extends AudioInputStream { |
2 | int len; |
3 | |
4 | *(int *len) {} |
5 | |
6 | public int read() { |
7 | if (len > 0) { |
8 | --len; |
9 | ret 0; |
10 | } |
11 | ret -1; |
12 | } |
13 | } |
Began life as a copy of #1018635
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018639 |
Snippet name: | SilenceAudioInputStream [dev.] |
Eternal ID of this version: | #1018639/1 |
Text MD5: | d0ab5593edbd48868bda9b965dc0a51f |
Author: | stefan |
Category: | javax / io |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-08 02:18:56 |
Source code size: | 192 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 344 / 356 |
Referenced in: | [show references] |