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

x33g5p2x  于2022-01-20 转载在 其他  
字(1.9k)|赞(0)|评价(0)|浏览(100)

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

Header.number_of_subbands介绍

[英]Returns the number of subbands in the current frame.
[中]返回当前帧中的子频带数。

代码示例

代码示例来源:origin: tulskiy/musique

public void decodeFrame() {
  num_subbands = header.number_of_subbands();
  subbands = new Subband[32];
  mode = header.mode();
  createSubbands();
  readAllocation();
  readScaleFactorSelection();
  if ((crc != null) || header.checksum_ok()) {
    readScaleFactors();
    readSampleData();
  }
}

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

public void decodeFrame () throws DecoderException {
  num_subbands = header.number_of_subbands();
  subbands = new Subband[32];
  mode = header.mode();
  createSubbands();
  readAllocation();
  readScaleFactorSelection();
  if (crc != null || header.checksum_ok()) {
    readScaleFactors();
    readSampleData();
  }
}

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

public void decodeFrame() throws DecoderException
{
  
  num_subbands = header.number_of_subbands();
  subbands = new Subband[32];
  mode = header.mode();
  
  createSubbands();
  
  readAllocation();
  readScaleFactorSelection();
  
  if ((crc != null) || header.checksum_ok())
   {
    readScaleFactors();
    
    readSampleData();            
  }
}

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

public void decodeFrame() throws DecoderException
{
  
  num_subbands = header.number_of_subbands();
  subbands = new Subband[32];
  mode = header.mode();
  
  createSubbands();
  
  readAllocation();
  readScaleFactorSelection();
  
  if ((crc != null) || header.checksum_ok())
   {
    readScaleFactors();
    
    readSampleData();            
  }
}

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

public void decodeFrame() throws DecoderException
{
  
  num_subbands = header.number_of_subbands();
  subbands = new Subband[32];
  mode = header.mode();
  
  createSubbands();
  
  readAllocation();
  readScaleFactorSelection();
  
  if ((crc != null) || header.checksum_ok())
   {
    readScaleFactors();
    
    readSampleData();            
  }
}

相关文章