[gst-devel] JACK Audio Dropouts

Stefan Kost ensonic at hora-obscura.de
Tue Dec 2 08:51:24 CET 2008


hi

Esben Stien schrieb:
> Tristan Matthews <tristan at sat.qc.ca> writes:
>
>   
>> Have you tried your gst-launch line with these settings:
>> gst-launch filesrc location=foo.ogg ! decodebin ! audioconvert  ! audioresample ! jackaudiosink
>>     
>
> Yes, if I leave out the sync=false part on the jackaudiosink module,
> it only plays half a second and then stops, just sitting there,
> outputting no audio.
>
> I did however try this: 
>
> nice --15 gst-launch filesrc location=audiodump.wav ! decodebin ! audioconvert  ! audioresample ! jackaudiosink sync=false
>
>   
you should not need sync=false. Regarding audioresample, try
speexresample. Audioresample has been replaced by it in cvs. Its faster
and better too.

To understand you right, the wav file is 96kHz. At what sample rate is
your jack running? If its the same audioresample will automatically
become passthrough.

Stefan
> Now it plays the audio fine, but using very much CPU. The audio is
> playing perfectly. There seems to be some scheduling problems here. Is
> gst-launch not requesting proper scheduling priorities?.
>
>   





More information about the gstreamer-devel mailing list