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).

!7

import javax.sound.sampled.*;

p-substance {
  L<Mixer> devices = inputAudioDevices();
  L<S> deviceNames = map(func(Mixer m) {
    audioDeviceName(m) + " [" + n(m.getTargetLineInfo(), "line") + "]"
  }, devices);
  minFrameWidth(300, packFrame(showRadioButtons("Input Audio Devices", deviceNames)));
}

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: 445 / 558
Version history: 7 change(s)
Referenced in: [show references]