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

16
LINES

< > BotCompany Repo | #1009241 // Try to play .ogg file with EasyOgg [WORKS]

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

Uses 74K of libraries. Click here for Pure Java version (1369L/9K/32K).

!7

lib 1009238 lib 1009239 lib 1009240 // EasyOgg

import org.newdawn.easyogg.*;

p {
  File ogg1 = loadLibrary("#1001264"); // Cereproc's Leopold speaking
  File ogg2 = new File(getProgramDir(), "bla.ogg");
  copyFile(ogg1, ogg2);
  
  OggClip ogg = new OggClip(newFileInputStream(ogg2));
  ogg.play();
  while (licensed() && !ogg.stopped()) sleep(1);
  ogg.close();
}

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: #1009241
Snippet name: Try to play .ogg file with EasyOgg [WORKS]
Eternal ID of this version: #1009241/7
Text MD5: 99d0d0e8aed363a375a6171e6ef8f4a9
Transpilation MD5: d37d8b2d0544216c4aa705819f496f5b
Author: stefan
Category: javax / audio
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-19 17:41:22
Source code size: 385 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 487 / 576
Version history: 6 change(s)
Referenced in: [show references]