Examples of AudioFile


Examples of org.jaudiotagger.audio.AudioFile

    public Track readSingle(Track track) {
      TrackData trackData = track.getTrackData();
        try {
            OggFileReader reader = new OggFileReader();
            AudioFile af1 = reader.read(trackData.getFile());
            Tag tag = af1.getTag();
            copyCommonTagFields(tag, track);
            copySpecificTagFields(tag, track);
            copyHeaderFields((GenericAudioHeader) af1.getAudioHeader(), track);
        } catch (Exception e) {
            System.out.println("Couldn't read file: " + trackData.getFile());
        }
        return track;
    }
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.