Patent ID: 7653067

Claim:
A block-based seeking method for Windows Media Audio (WMA) stream, implemented in a portable electronic device with a first processor and a second processor, the method comprising: transmitting a notification to the first processor from the second processor to indicate that an input buffer of a memory of the second processor is ready; reading a plurality of blocks of data of a WMA stream from a block-based storage device by the first processor; transmitting the WMA stream to the memory of the second processor block by block, wherein the WMA stream is transmitted to the second processor by the first processor and a block number is generated and transmitted before each block of data is transmitted; decoding the WMA stream packet by packet by the second processor to generate decoded samples; determining whether a discontinuous block number occurs by the second processor; if a discontinuous block number occurs, seeking a desired position of the WMA stream according to the discontinuous block number; and outputting the decoded samples of the WMA stream by the second processor.