[Top][All Lists]

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

Re: Re: Re: [Linphone-developers] alaw codec in mediastreamer2

From: Yao-Chung Chang
Subject: Re: Re: Re: [Linphone-developers] alaw codec in mediastreamer2
Date: Mon, 25 Sep 2006 15:04:53 +0800

Hello, I've traced the source code of ms_ticker_run(), and have a question.

Considering the following graph

A   D - - E - - F
  \         /
    \     /
     C  - - G

In the graph,  A, B, and D are the sources. In the first round,

D is being processed, and  E is put to unschedulable list.

Then,  A is being processed,  and C is put  to unscheduable list as well.

Finally, B is being processed, then C, E, F, G are being processed though

the graph traversal. Since C, E are being processed when B is done, why the

unschedulable list containg C and E still needs to be processed? Or there is

another special case that I didn't consider?


2006/9/24, Yao-Chung Chang <address@hidden>:
Would you please tell me how msticker schedule all filters?

In run_graphs(), there's a snippet of code handling unschedulable

filter, and I still can't understand the comment there. Besides, I've

hook a filter though the DSP, but got many "we are late of xxx miliseconds"

 messages. Is that mean the latency of my filter module is over 10ms?


2006/9/22, Simon Morlat <address@hidden>:
> >
> > My question is
> > the buffer size, and frame_per_packet size is determined?
> I think it is determined from the ptime parameter.
> > and why the size_of_pcm is 160 * frame_per_packet?
> "frame" stands for a 10ms buffer of alaw.
> > 2. what the purpose of bufferizer?
> The bufferizer object is a kind of fifo where you put mblk_t buffers of any
> size (256,512,33), and read buffer of fized size (for example 160).
> Simon
> >
> >                               Regards,
> >                                   ycchang
> >
> >
> > _______________________________________________
> > Linphone-developers mailing list
> > address@hidden
> >

reply via email to

[Prev in Thread] Current Thread [Next in Thread]