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

5
LINES

< > BotCompany Repo | #1009288 // javaSound_streamFromLineToLine

JavaX fragment (include)

1  
static void javaSound_streamFromLineToLine(TargetDataLine in, SourceDataLine out, int bufferSize, Flag stopFlag) {
2  
  byte[] buf = new byte[bufferSize];
3  
  while (licensed() && !stopFlag.isUp())
4  
    out.write(buf, 0, in.read(buf, 0, bufferSize));
5  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1009288
Snippet name: javaSound_streamFromLineToLine
Eternal ID of this version: #1009288/2
Text MD5: a7e175948f4f9ecd75f276adc7ff401d
Author: stefan
Category: javax / sound
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-21 14:04:33
Source code size: 250 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 454 / 505
Version history: 1 change(s)
Referenced in: [show references]