javazoom.jl.decoder.Bitstream.loadID3v2()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(106)

本文整理了Java中javazoom.jl.decoder.Bitstream.loadID3v2()方法的一些代码示例,展示了Bitstream.loadID3v2()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Bitstream.loadID3v2()方法的具体详情如下:
包路径:javazoom.jl.decoder.Bitstream
类名称:Bitstream
方法名:loadID3v2

Bitstream.loadID3v2介绍

[英]Load ID3v2 frames.
[中]加载ID3v2帧。

代码示例

代码示例来源:origin: com.badlogicgames.jlayer/jlayer

/**
 * Construct a IBitstream that reads data from a given InputStream.
 * 
 * @param in The InputStream to read from.
 */
public Bitstream (InputStream in) {
  if (in == null) throw new NullPointerException("in");
  in = new BufferedInputStream(in);
  loadID3v2(in);
  firstframe = true;
  // source = new PushbackInputStream(in, 1024);
  source = new PushbackInputStream(in, BUFFER_INT_SIZE * 4);
  closeFrame();
  // current_frame_number = -1;
  // last_frame_number = -1;
}

代码示例来源:origin: com.googlecode.soundlibs/jlayer

/**
 * Construct a IBitstream that reads data from a
 * given InputStream.
 *
 * @param in    The InputStream to read from.
 */
public Bitstream(InputStream in)
{
  if (in==null) throw new NullPointerException("in");
  in = new BufferedInputStream(in);		
  loadID3v2(in);
  firstframe = true;
  //source = new PushbackInputStream(in, 1024);
  source = new PushbackInputStream(in, BUFFER_INT_SIZE*4);
  
  closeFrame();
  //current_frame_number = -1;
  //last_frame_number = -1;
}

代码示例来源:origin: javazoom/jlayer

/**
 * Construct a IBitstream that reads data from a
 * given InputStream.
 *
 * @param in    The InputStream to read from.
 */
public Bitstream(InputStream in)
{
  if (in==null) throw new NullPointerException("in");
  in = new BufferedInputStream(in);		
  loadID3v2(in);
  firstframe = true;
  //source = new PushbackInputStream(in, 1024);
  source = new PushbackInputStream(in, BUFFER_INT_SIZE*4);
  
  closeFrame();
  //current_frame_number = -1;
  //last_frame_number = -1;
}

代码示例来源:origin: pdudits/soundlibs

/**
 * Construct a IBitstream that reads data from a
 * given InputStream.
 *
 * @param in    The InputStream to read from.
 */
public Bitstream(InputStream in)
{
  if (in==null) throw new NullPointerException("in");
  in = new BufferedInputStream(in);		
  loadID3v2(in);
  firstframe = true;
  //source = new PushbackInputStream(in, 1024);
  source = new PushbackInputStream(in, BUFFER_INT_SIZE*4);
  
  closeFrame();
  //current_frame_number = -1;
  //last_frame_number = -1;
}

相关文章