public StreamInfo readStreamInfo ( ) throws IOException { readStreamSync ( ) ; Metadata metadata = readNextMetadata ( ) ; if ( ! ( metadata instanceof StreamInfo ) ) throw new IOException ( "StreamInfo metadata block missing" ) ; return ( StreamInfo ) metadata ; }
Read the FLAC stream info .