On Monday 29 January 2007 19:17, you wrote:
> Hi, Mr. Orlandi,

Hi :)

> First of all, sorry about my personal email, maybe the right place is
> visdn-hackers maillist. I have one small question:

I am cc-ing the list, someonw may be interested :)

> if is posible to known the current value of tx-fifo (number if bytes
> inside). i try to implement the apropriate getsockopt() but cannot success
> :(

Yes, it is possible but only in the development branch (the one accessible via 
bazaar (bzr).

> My idea is to use this feature in chan_visdn.c for implementing a simple
> jitter-buffer for transimitting G711-alaw voice data, because now this
> hw-fifo becomes empty in some situations (very often in my system)

What is the clock source of your voice stream?

> , and the 
> outgoing voice has very-very poor quality. If I can get the current count
> of tx-fifo bytes i will use this value as a feedback for controlling the
> outgoing jitter buffer.

Yup, what you are looking for is the GET_PRESSURE ioctl in the userport 
device.

Bye,

-- 
  Daniele Orlandi
_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers

Reply via email to