On Thu, 24 Nov 2005, Dan Austin wrote: > The change from careful_write to write between version 1.2.0-beta1 and > 1.2.0 did not > take into consideration that a caller might be using a packetization of > more than 20ms. > > I've been working on making app_meetme handle different size audio > frames, and have > had some success. The last obsticle is setting up the read buffer. My > 'C' is quite rusty, > and I cannot figure out a way to determine the size of the read buffer. > > char __buf[CONF_SIZE + AST_FRIENDLY_OFFSET]; > char *buf = __buf + AST_FRIENDLY_OFFSET; > > What I hoped to do is determine the size of buf, and if needed use > realloc to grow/shrink > the read buffer to the proper size. > > Any hints would be appreciated, even a 'take another class in C'
This is also being discussed on the Bugtracker at: http://bugs.digium.com/view.php?id=5697 -- Vice President of N2Net, a New Age Consulting Service, Inc. Company http://www.n2net.net Where everything clicks into place! KP-216-121-ST _______________________________________________ Asterisk-Dev mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-dev To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
