code: func (wav *Reader) parseChunkFmt() (err error) {
  	wav.chunkFmt = new(riffChunkFmt)
  
  	if err = binary.Read(wav.input, binary.LittleEndian, wav.chunkFmt); err != nil {
  		return err
  	}
  
  	if wav.canonical == false {
  		var extraparams uint32
  		// Get extra params size
  		if err = binary.Read(wav.input, binary.LittleEndian, &extraparams); err != nil {
  			return err
  		}
  		// Skip them
  		if _, err = wav.input.Seek(int64(extraparams), os.SEEK_CUR); err != nil {
  			return err
  		}
  	}
  
  	// Is audio supported ?
  	if wav.chunkFmt.AudioFormat != 1 {
  		return ErrFormatNotSupported
  	}
  
  	return nil
  }
docs: // parseChunkFmt