本文整理了Java中javazoom.jl.decoder.Header.checksum_ok()
方法的一些代码示例,展示了Header.checksum_ok()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Header.checksum_ok()
方法的具体详情如下:
包路径:javazoom.jl.decoder.Header
类名称:Header
方法名:checksum_ok
[英]Returns Checksum flag. Compares computed checksum with stream checksum.
[中]返回校验和标志。将计算的校验和与流校验和进行比较。
代码示例来源: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();
}
}
内容来源于网络,如有侵权,请联系作者删除!