oggInfo.clear(); // must be called last
oggInfo.clear(); // must be called last
oggInfo.clear(); // must be called last
oggInfo.clear(); // must be called last
/** * Closes the input stream and remove references to all instantiated objects. */ public void cleanup() { joggStreamState.clear(); jorbisBlock.clear(); jorbisDspState.clear(); jorbisInfo.clear(); joggSyncState.clear(); if( inputStream != null ) { try { inputStream.close(); } catch( IOException ioe ) {} } joggStreamState = null; jorbisBlock = null; jorbisDspState = null; jorbisInfo = null; joggSyncState = null; inputStream = null; }
/** * A clean-up method, called when everything is finished. Clears the * JOgg/JOrbis objects and closes the <code>oggInputStream</code>. */ private void cleanUp (final ConverterData converterData, final InputStream oggInputStream) { // Clear the necessary JOgg/JOrbis objects. converterData.joggData.streamState.clear (); converterData.jorbisData.block.clear (); converterData.jorbisData.dspState.clear (); converterData.jorbisData.info.clear (); converterData.joggData.syncState.clear (); // Closes the stream. try { if (oggInputStream != null) { oggInputStream.close (); } } catch (final IOException e) { this.log (new LogEvent (AudioFileHelperEventCode.COULD_NOT_CLOSE, e)); } }
int clear(){ vb.clear(); vd.clear(); os.clear(); if(vi!=null&&links!=0){ for(int i=0; i<links; i++){ vi[i].clear(); vc[i].clear(); } vi=null; vc=null; } if(dataoffsets!=null) dataoffsets=null; if(pcmlengths!=null) pcmlengths=null; if(serialnos!=null) serialnos=null; if(offsets!=null) offsets=null; oy.clear(); return (0); }
int clear(){ vb.clear(); vd.clear(); os.clear(); if(vi!=null&&links!=0){ for(int i=0; i<links; i++){ vi[i].clear(); vc[i].clear(); } vi=null; vc=null; } if(dataoffsets!=null) dataoffsets=null; if(pcmlengths!=null) pcmlengths=null; if(serialnos!=null) serialnos=null; if(offsets!=null) offsets=null; oy.clear(); return (0); }
int clear(){ vb.clear(); vd.clear(); os.clear(); if(vi!=null&&links!=0){ for(int i=0; i<links; i++){ vi[i].clear(); vc[i].clear(); } vi=null; vc=null; } if(dataoffsets!=null) dataoffsets=null; if(pcmlengths!=null) pcmlengths=null; if(serialnos!=null) serialnos=null; if(offsets!=null) offsets=null; oy.clear(); return (0); }
int clear() { vb.clear(); vd.clear(); os.clear(); if (vi != null && links != 0) { for (int i = 0; i < links; i++) { vi[i].clear(); vc[i].clear(); } vi = null; vc = null; } if (dataoffsets != null) dataoffsets = null; if (pcmlengths != null) pcmlengths = null; if (serialnos != null) serialnos = null; if (offsets != null) offsets = null; oy.clear(); return (0); }
int clear(){ vb.clear(); vd.clear(); os.clear(); if(vi!=null&&links!=0){ for(int i=0; i<links; i++){ vi[i].clear(); vc[i].clear(); } vi=null; vc=null; } if(dataoffsets!=null) dataoffsets=null; if(pcmlengths!=null) pcmlengths=null; if(serialnos!=null) serialnos=null; if(offsets!=null) offsets=null; oy.clear(); return (0); }
jorbisBlock.clear(); jorbisDspState.clear(); jorbisInfo.clear(); joggSyncState.clear();
int unpack_info(Buffer opb){ version=opb.read(32); if(version!=0) return (-1); channels=opb.read(8); rate=opb.read(32); bitrate_upper=opb.read(32); bitrate_nominal=opb.read(32); bitrate_lower=opb.read(32); blocksizes[0]=1<<opb.read(4); blocksizes[1]=1<<opb.read(4); if((rate<1)||(channels<1)||(blocksizes[0]<8)||(blocksizes[1]<blocksizes[0]) ||(opb.read(1)!=1)){ clear(); return (-1); } return (0); }
int unpack_info(Buffer opb) { version = opb.read(32); if (version != 0) return (-1); channels = opb.read(8); rate = opb.read(32); bitrate_upper = opb.read(32); bitrate_nominal = opb.read(32); bitrate_lower = opb.read(32); blocksizes[0] = 1 << opb.read(4); blocksizes[1] = 1 << opb.read(4); if ((rate < 1) || (channels < 1) || (blocksizes[0] < 8) || (blocksizes[1] < blocksizes[0]) || (opb.read(1) != 1)) { clear(); return (-1); } return (0); }
int unpack_info(Buffer opb){ version=opb.read(32); if(version!=0) return (-1); channels=opb.read(8); rate=opb.read(32); bitrate_upper=opb.read(32); bitrate_nominal=opb.read(32); bitrate_lower=opb.read(32); blocksizes[0]=1<<opb.read(4); blocksizes[1]=1<<opb.read(4); if((rate<1)||(channels<1)||(blocksizes[0]<8)||(blocksizes[1]<blocksizes[0]) ||(opb.read(1)!=1)){ clear(); return (-1); } return (0); }
int unpack_info(Buffer opb){ version=opb.read(32); if(version!=0) return (-1); channels=opb.read(8); rate=opb.read(32); bitrate_upper=opb.read(32); bitrate_nominal=opb.read(32); bitrate_lower=opb.read(32); blocksizes[0]=1<<opb.read(4); blocksizes[1]=1<<opb.read(4); if((rate<1)||(channels<1)||(blocksizes[0]<8)||(blocksizes[1]<blocksizes[0]) ||(opb.read(1)!=1)){ clear(); return (-1); } return (0); }
int unpack_info(Buffer opb){ version=opb.read(32); if(version!=0) return (-1); channels=opb.read(8); rate=opb.read(32); bitrate_upper=opb.read(32); bitrate_nominal=opb.read(32); bitrate_lower=opb.read(32); blocksizes[0]=1<<opb.read(4); blocksizes[1]=1<<opb.read(4); if((rate<1)||(channels<1)||(blocksizes[0]<8)||(blocksizes[1]<blocksizes[0]) ||(opb.read(1)!=1)){ clear(); return (-1); } return (0); }
if(ret==-1){ vi[i].clear(); vc[i].clear(); break;
if(ret==-1){ vi[i].clear(); vc[i].clear(); break;