摘要 |
In one embodiment, sample information and frame length information are obtained from the audio signal. The sample information indicates a total number of audio data samples for each channel in the audio signal, and the frame length information indicates a number of samples in a frame of each channel. It is determined if a remainder exists if the sample information is divided by the frame length information, and if a remainder exists, the number of frames in the audio signal is determined as an integer value of the sample information divided by the frame information plus one. Also, a length of a last frame may be set based on the remainder if the determining step determines that a remainder exists. The data samples are decoded based on the determined number of frames.
|