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

11
LINES

< > BotCompany Repo | #1007014 // Show Input Audio Devices [probably works]

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Uses 3874K of libraries. Click here for Pure Java version (5960L/41K/149K).

1  
!7
2  
3  
import javax.sound.sampled.*;
4  
5  
p-substance {
6  
  L<Mixer> devices = inputAudioDevices();
7  
  L<S> deviceNames = map(func(Mixer m) {
8  
    audioDeviceName(m) + " [" + n(m.getTargetLineInfo(), "line") + "]"
9  
  }, devices);
10  
  minFrameWidth(300, packFrame(showRadioButtons("Input Audio Devices", deviceNames)));
11  
}

Author comment

Began life as a copy of #1006999

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1007014
Snippet name: Show Input Audio Devices [probably works]
Eternal ID of this version: #1007014/8
Text MD5: d0132d03fab9ce3e0982fec9145515cf
Transpilation MD5: e66e59d10579c52176e6cd7712fe32f4
Author: stefan
Category: javax / audio
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-02-25 15:57:34
Source code size: 316 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 447 / 561
Version history: 7 change(s)
Referenced in: [show references]