001 package helliker.id3;
002 /*
003 Copyright (C) 2007 Moritz Ringler
004 This library is free software; you can redistribute it and/or
005 modify it under the terms of the GNU Lesser General Public
006 License as published by the Free Software Foundation; either
007 version 2.1 of the License, or (at your option) any later version.
008 This library is distributed in the hope that it will be useful,
009 but WITHOUT ANY WARRANTY; without even the implied warranty of
010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
011 Lesser General Public License for more details.
012 You should have received a copy of the GNU Lesser General Public
013 License along with this library; if not, write to the Free Software
014 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
015 */
016
017 public interface VBRHeader{
018 public boolean exists();
019 public int getAvgBitrate();
020 public int getNumFrames();
021 public int getNumBytes();
022 /** Returns the approximate playing time in seconds. */
023 public int getPlayingTime();
024 /** Returns the length of this header in bytes */
025 public int getLength();
026 }