Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args) {
- try {
- FileInputStream fis;
- Player player;
- fis = new FileInputStream("Macintosh HD/Usuarios/imabsolutions-biondi/Escritorio/Kana-Boon - Silhouette.mp3");
- BufferedInputStream bis = new BufferedInputStream(fis);
- player = new Player(bis); // Llamada a constructor de la clase Player
- player.play(); // Llamada al método play
- } catch (JavaLayerException | FileNotFoundException e) {
- System.out.println("Error" + e);;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement