Return to LanScape's home page Go back a page...       Active TopicsActive Topics   Display List of Forum MembersMember List   Knowledge Base SearchSearch   HelpHelp  RegisterRegister  LoginLogin

LanScape VOIP Media Engine™ - Pre-Sales Technical Support
 LanScape Support Forum -> LanScape VOIP Media Engine™ - Pre-Sales Technical Support
Subject Topic: GetNumIvrTxBuffers function Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Jalal
Vetran
Vetran


Joined: April 24 2006
Location: Iran
Posts: 188
Posted: May 28 2006 at 9:48am | IP Logged Quote Jalal

Hi

Does GetNumIvrTxBuffers return the number of free buffers or it returns the number of all buffers?

If it returns the number of all available buffers is there any way I can know how many of these buffers is not sent yet or how many of them is free.

Thanks
Jalal Abedinejad
Back to Top View Jalal's Profile Search for other posts by Jalal Visit Jalal's Homepage
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: May 30 2006 at 7:24am | IP Logged Quote support

Hi Jalal,

It returns the number of free (available) transmit buffers. This number will vary depending on how many blocks you send and where the Media Engine is regarding sending the blocks.

The first time you call the GetNumIvrTxBuffers() proc, the number it returns will be the maximum number of tx buffers available. As you send blocks of data the number returned by the GetNumIvrTxBuffers() proc will be reduced. If the GetNumIvrTxBuffers() proc returns a value of 0, then your application code must wait for data blocks to be transmitted by the media engine before you can try to send more.

Support
Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum






Contact LanScape Hear what the Lawyers have to say How youm may use this site Read your privacy rights