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

10
LINES

< > BotCompany Repo | #1009284 // javaSound_listMixers

JavaX fragment (include)

import javax.sound.sampled.*;

static void javaSound_listMixers() {
  print("Available Mixers:");
  Mixer.Info[]	aInfos = AudioSystem.getMixerInfo();
  for (int i = 0; i < aInfos.length; i++)
  	print(aInfos[i].getName());
  if (aInfos.length == 0)
  	print("[No mixers available]");
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1009284
Snippet name: javaSound_listMixers
Eternal ID of this version: #1009284/3
Text MD5: a016344171ce0c254319ce0d30cd681d
Author: stefan
Category: javax / sound
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-12 13:45:36
Source code size: 296 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 470 / 517
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)