摘要 |
A method for transferring a media file includes receiving the media file from a computer network and writing a first portion of the media file into a first buffer. When the first buffer is full, the method further includes writing a second portion of the media file into a second buffer, reading out the first portion from the first buffer, converting the first portion, and writing the first portion into a third buffer. When the second buffer is full and the first portion has been converted and written into the third buffer, the method further includes writing a third portion of the media file into the first buffer, reading out the second portion from the second buffer, converting the second portion, writing the second portion into a fourth buffer, reading out the first portion from the third buffer, and transferring the first portion to the media player.
|