CA_Get_Element_Info()

Purpose

Returns details of a list of voice elements.

Libraries

Blueworx Voice Response library (libvae.a)

Custom Server library (libca.a)

Syntax

#include "CA_header.h"
#include "CA_access_db.h"
int CA_Get_Element_Info(
   INT_VOICE_ST     * int_sp
   ELEMENT_INFO_ST   * element_info_sp
);

Description

This subroutine returns information about voice data which is in the internal format used by Blueworx Voice Response, for example the output data from CA_Get_Segment(). This information includes the maximum volume of the data.

Parameters

int_sp
A pointer to an INT_VOICE_ST input structure filled in as described in INT_VOICE_ST.
element_info_sp
A pointer to an ELEMENT_INFO_ST output structure, that will be filled in on return as described in ELEMENT_INFO_ST.

Return codes

0
Successful
-1
Unsuccessful (global error number CA_errno is set to indicate the error)

Error names

CA_NOT_INIT
CA_INV_ADDR
CA_INV_COMPRESSION_TYPE
CA_INV_TOTAL_ELEMENTS
CA_INV_VOICE_ELEMENT
CA_INV_VOICE_FORMAT
CA_TERMINATING

Related information

CA_Export_Voice(), CA_Get_Audio_Name(), CA_Get_Greeting(), CA_Get_Segment(), CA_Get_Voice_Msg(), CA_Import_Voice().