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)

static S soundPlayMethod() {
  if (isLinux()) {
    if (onPATH("aplay")) ret "aplay";
  } else if (isWindows())
    ret "cmdmp3.exe";
  
  ret "JavaSound";
}

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: 487 / 557
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)