How to use DSP in gstreamer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi Zhao,

Zhao Liang-E3423C wrote:
> Zhao Liang-E3423C wrote:
>>
>> 2. decoder + sink
>> DSP is a decoder plus sink, it can directly accept encoded data, and 
>> then decode it and render pcm data into audio device directly.
>>     
>
> creating a sink with right caps should be enough for this one...
>
> Zhao Liang:  By my experience, it is not simple like just adding a new
> caps. 
> 		Just  a example, how to handle preroll? Generally, dsp
> need to do initialization when start to work, so what is the time to do
> this? 
>   

you can add your sink into the pipeline but not link its sink pad
immediatly when creating it.
Your sink element could post a message on the pipeline bus to notify
it's ready when it happens, and then you link it to allow preroll.

-- 
Yann Gilquin

Purple Labs S.A.
www.purplelabs.com







[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux