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

9
LINES

< > BotCompany Repo | #1006999 // Show Audio Devices As Radio Buttons [WORKS]

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

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (6896L/48K).

!7

import javax.sound.sampled.*;

p-substance {
  L<Mixer.Info> devices = asList(AudioSystem.getMixerInfo());
  L<S> deviceNames = mapMethod("getName", devices);
  minFrameWidth(300, packFrame(showRadioButtons("Audio Devices", deviceNames)));
}

Author comment

Began life as a copy of #1006995

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006999
Snippet name: Show Audio Devices As Radio Buttons [WORKS]
Eternal ID of this version: #1006999/8
Text MD5: 03863bd46dc78f04ef9f5ffbc285daf9
Transpilation MD5: ee9b254a7971947c6789aba36241ac46
Author: stefan
Category: javax / audio
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-06 14:18:16
Source code size: 253 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 665 / 1379
Version history: 7 change(s)
Referenced in: #1007014 - Show Input Audio Devices [probably works]