diff options
Diffstat (limited to 'software/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c')
-rw-r--r-- | software/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c index c706e5f..8d115e3 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c @@ -22,9 +22,9 @@ You should have received a copy of the GNU General Public License along with the OCT6100 GPL API; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. -$Octasic_Release: OCT612xAPI-01.04.01 $ +$Octasic_Release: OCT612xAPI-01.04.04 $ -$Octasic_Revision: 109 $ +$Octasic_Revision: 110 $ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ @@ -584,7 +584,7 @@ UINT32 Oct6100ApiGetPlayoutBufferSwSizes( if ( ulResult != cOCT6100_ERR_OK ) return cOCT6100_ERR_FATAL_3C; - f_pInstSizes->ulPlayoutBufMemoryNodeList = 2 * f_pOpenChip->ulMaxPlayoutBuffers * sizeof( tOCT6100_API_BUFFER_PLAYOUT_MALLOC_NODE ); + f_pInstSizes->ulPlayoutBufMemoryNodeList = (( 2 * f_pOpenChip->ulMaxPlayoutBuffers) + 1 ) * sizeof( tOCT6100_API_BUFFER_PLAYOUT_MALLOC_NODE ); } else { |