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

13
LINES

< > BotCompany Repo | #1024593 // audio_rechunk [dev.]

JavaX fragment (include)

1  
static ItIt<short[]> audio_rechunk(int windowSize, Iterable<short[]> it) {
2  
  ret iff_endOnNull(new F0<short[]> {
3  
    short[] buf = null;
4  
    int bufPos = 0;
5  
    
6  
    short[] get() {
7  
      if (l(buf)-bufPos >= windowSize)
8  
      if (bufN == windowSize)
9  
      chunks.
10  
      fOr (short[] chunk : chunks) {
11  
      int =
12  
  }
13  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024593
Snippet name: audio_rechunk [dev.]
Eternal ID of this version: #1024593/1
Text MD5: dc976ca3a4e4ffb00a6e7ff09f34c2da
Author: stefan
Category: javax / sound
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-19 17:59:46
Source code size: 331 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 220 / 245
Referenced in: [show references]