According to another aspect of the present invention, there is provided a computer readable recording medium having recorded thereon a program for executing a method of encoding extension data for surround, corresponding to additional information for decoding audio data to surround data, the method including encoding an identifier which indicates a data type of a data segment, encoding an identifi