A system and methods are provided for a controlled transfer of a portion of a
data
stream between a digital storage media and a corresponding stream decoder. A data
stream stored in digital storage media is accessed through an application. A FIFO
is used to provide a buffer to the stream decoder. The application monitors the
FIFO to determine when to send data related to the data stream from the digital
storage media. The data is transferred to the buffer and passed to the stream decoder.
A counter is used for dictating a period of time between sending segments of the
data stored in the FIFO to the stream decoder. The rate of transfer to the stream
decoder is adjusted through the counter to match a desired bit-rate associated
with the data stream.