Examples of TrackMessage


Examples of vavi.sound.smaf.message.TrackMessage

        }

        int smafDataLength = 0;
        Track[] tracks = sequence.getTracks();
        for (int t = 0; t < tracks.length; t++) {
            TrackMessage track = new TrackMessage(t, tracks[t]);
            smafDataLength += track.getDataLength();
        }

        DataOutputStream dos = new DataOutputStream(out);

        //
        dos.writeBytes(TYPE);
        dos.writeInt(smafDataLength);

        // 3. tracks
        for (int t = 0; t < tracks.length; t++) {
            TrackMessage track = new TrackMessage(t, tracks[t]);
            track.writeTo(out);
        }

        out.flush(); // TODO ����H
    }
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.