Package net.sf.asap

Examples of net.sf.asap.ASAP.load()


    InputStream is = new FileInputStream(inputFilename);
    byte[] module = new byte[ASAP.MODULE_MAX];
    int module_len = is.read(module);
    is.close();
    ASAP asap = new ASAP();
    asap.load(inputFilename, module, module_len);
    ASAP_ModuleInfo module_info = asap.getModuleInfo();
    if (song < 0)
      song = module_info.default_song;
    if (duration < 0) {
      duration = module_info.durations[song];
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.