/** * Stops a sound file that has been playing/repeating. * * @return Error code. */ public static int stopSoundPlayback() { try { return nxtCommand.stopSoundPlayback(); } catch (IOException ioe) { System.out.println(ioe.getMessage()); return -1; } }