Patent ID: 8849677

Claim:
A coding apparatus comprising: a memory storing instructions; and a processor configured to execute the instructions to: generate first coding information that is information used for first coding of a first audio signal that is an audio signal in a frame unit and second coding information that is information used for second coding of a second audio signal that is an audio signal in a frame unit, the second audio signal being different from the first audio signal, in such a manner that the first coding information and the second coding information share at least a common portion, and configured to generate third coding information that is information used for the first coding of the second audio signal and fourth coding information that is information used for the second coding of a third audio signal that is an audio signal in a frame unit, the third audio signal being different from the first and second audio signals, in such a manner that the third coding information and the fourth coding information share at least a common portion; generate first data by performing the first coding on the first audio signal by using the first coding information and configured to generate second data by performing the first coding on the second audio signal by using the third coding information; generate third data by performing the second coding on the second audio signal by using the second coding information and configured to generate fourth data by performing the second coding on the third audio signal by using the fourth coding information; and generate a stream of the first audio signal by multiplexing the first coding information, the third data, the second coding information, and information other than a portion common to the first coding information within the first data, and configured to generate a stream of the second audio signal by multiplexing the third coding information, the fourth data, and the fourth coding information other than a portion common to the third coding information within the second data, wherein the third data is decoded in place of the second data contained in the stream of the second audio signal in a case where a loss or an error has occurred in the stream of the second audio signal in a decoding apparatus that decodes the first audio signal and the second audio signal.