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

8
LINES

< > BotCompany Repo | #1009697 // soundPlayMethod - how to play sound on platform

JavaX fragment (include)

1  
static S soundPlayMethod() {
2  
  if (isLinux()) {
3  
    if (onPATH("aplay")) ret "aplay";
4  
  } else if (isWindows())
5  
    ret "cmdmp3.exe";
6  
  
7  
  ret "JavaSound";
8  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1009697
Snippet name: soundPlayMethod - how to play sound on platform
Eternal ID of this version: #1009697/4
Text MD5: 00e4812ba0c1abc7226dfce57110cdb7
Author: stefan
Category: javax / sound
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-14 15:13:33
Source code size: 164 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 488 / 558
Version history: 3 change(s)
Referenced in: [show references]