if (info.synthesis_headerin(comment, packet) < 0) { info.synthesis_headerin(comment, packet); i++;
if (oggInfo.synthesis_headerin(comment, packet) < 0) { oggInfo.synthesis_headerin(comment, packet); i++;
if (oggInfo.synthesis_headerin(comment, packet) < 0) { oggInfo.synthesis_headerin(comment, packet); i++;
if (oggInfo.synthesis_headerin(comment, packet) < 0) { oggInfo.synthesis_headerin(comment, packet); i++;
if (oggInfo.synthesis_headerin(comment, packet) < 0) { oggInfo.synthesis_headerin(comment, packet); i++;
private void readAdditionalHeaderFromPage (final ConverterData converterData) throws JorbisReadException { // Share the page with the StreamState object. converterData.joggData.streamState.pagein (converterData.joggData.page); /* * Reading a page below. */ switch (converterData.joggData.streamState.packetout (converterData.joggData.packet)) { // If there is a hole in the data, we must exit. case ERROR_WHILE_READING : throw new JorbisReadException ("There is a hole in the first packet data."); // We got a packet, let's process it. case PAGE_READ : converterData.jorbisData.info.synthesis_headerin (converterData.jorbisData.comment, converterData.joggData.packet); break; default : break; } }
if (_info.synthesis_headerin(comment, _packet) < 0) { throw new IOException("Ogg bitstream does not contain Vorbis audio data."); throw new IOException("End of file before reading all Vorbis headers."); _info.synthesis_headerin(comment, _packet);
if (_info.synthesis_headerin(comment, _packet) < 0) { throw new IOException("Ogg bitstream does not contain Vorbis audio data."); throw new IOException("End of file before reading all Vorbis headers."); _info.synthesis_headerin(comment, _packet);
if (oggInfo.synthesis_headerin(comment, packet) < 0) { throw new IOException("Ogg bitstream does not contain Vorbis audio data."); oggInfo.synthesis_headerin(comment, packet); i++;
throw new IOException("Error reading initial header packet."); if(vorbisInfo.synthesis_headerin(vorbisComment, oggPacket_) < 0) throw new IOException("Corrupt secondary header. Exiting."); vorbisInfo.synthesis_headerin(vorbisComment, oggPacket_); i++;
private void initConverterDataFromPage (final ConverterData converterData) throws JorbisReadException { // Initializes and resets StreamState. converterData.joggData.streamState.init (converterData.joggData.page.serialno ()); converterData.joggData.streamState.reset (); // Initializes the Info and Comment objects. converterData.jorbisData.info.init (); converterData.jorbisData.comment.init (); // Check the page (serial number and stuff). if (converterData.joggData.streamState.pagein (converterData.joggData.page) == -1) { throw new JorbisReadException ("We got an error while reading the first header page."); } /* * Try to extract a packet. All other return values than "1" indicates * there's something wrong. */ if (converterData.joggData.streamState.packetout (converterData.joggData.packet) != 1) { throw new JorbisReadException ("We got an error while reading the first header packet."); } /* * We give the packet to the Info object, so that it can extract the * Comment-related information, among other things. If this fails, it's * not Vorbis data. */ if (converterData.jorbisData.info.synthesis_headerin (converterData.jorbisData.comment, converterData.joggData.packet) < 0) { throw new JorbisReadException ("We got an error while interpreting the first packet. Apparantly, it's not Vorbis data."); } }
if( jorbisInfo.synthesis_headerin( jorbisComment, joggPacket ) < 0 ) jorbisInfo.synthesis_headerin( jorbisComment, joggPacket ); i++;
if (oggInfo.synthesis_headerin(comment, packet) < 0) { oggInfo.synthesis_headerin(comment, packet); i++;
if (oggInfo.synthesis_headerin(comment, packet) < 0) { oggInfo.synthesis_headerin(comment, packet); i++;
if (oggInfo.synthesis_headerin(comment, packet) < 0) { oggInfo.synthesis_headerin(comment, packet); i++;
return -1; if(vi.synthesis_headerin(vc, op)!=0){ vi.clear(); vc.clear();
return -1; if(vi.synthesis_headerin(vc, op)!=0){ vi.clear(); vc.clear();
return -1; if(vi.synthesis_headerin(vc, op)!=0){ vi.clear(); vc.clear();
return -1; if(vi.synthesis_headerin(vc, op)!=0){ vi.clear(); vc.clear();
return -1; if (vi.synthesis_headerin(vc, op) != 0) { vi.clear(); vc.clear();