[Asterisk-Dev] chan_bluetooth

David Woodhouse dwmw2 at infradead.org
Thu May 19 00:22:13 MST 2005


On Wed, 2005-05-18 at 22:41 -0500, Brent Priddy wrote:
> here are my changes to get the inbound audio
> working:
> 
>   ast_mutex_lock(&(dev->lock));
>   close(dev->sco);
>   dev->sco = -1;
>   dev->sco_running = -1;
> // add
>   memset(dev->sco_buf_in, 0, BUFLEN);
>   memset(dev->sco_buf_out, 0, BUFLEN);
> 
>   dev->sco_pos_in  = 0;
>   dev->sco_pos_out = 0;
> // end add

Please show changes in 'diff -up' form. The output of 'cvs diff -up'
would provide that if you're not happy just typing it yourself ;)

You're merely confirming my already-stated belief that the whole ring
buffer thing needs to die, or at least be rewritten from scratch.

-- 
dwmw2




More information about the asterisk-dev mailing list