[gst-devel] gstreamer audio cache
Stefan Kost
ensonic at hora-obscura.de
Wed Oct 20 12:43:02 CEST 2010
hi,
On 12.10.2010 23:58, gstUser wrote:
> I have the following pipeline: filesrc ! mp3decoder ! alsasink
>
> I am experiencing at times slow responses in playing an mp3. Sometimes the
> mp3 (2 second file) takes 2 or 3 seconds to start playing. I was hoping to
> either cache the data on the filesrc side to prevent file reads, or cache
> the decoded data on the alsasink side.
>
> I have tried caching the data on the filesrc side, however the file only
> plays on the first try. Each successive try does not seem to write the data
> to the ring buffer.
>
> Is there a way to cache the audio data on the alsasink side?
>
you haven't really told us what you want to do. If the audio is just a
short sniuppet, you coudl e.g. use pulseaudio sample cache and play it
from there.
Stefan
More information about the gstreamer-devel
mailing list