CA_Get_Audio_Name_Info()

Purpose

Retrieves audio name voice data information.

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_Audio_Name_Info (
 AUDIO_NAME_PARM_ST   *audio_name_parm_sp,
 AUDIO_NAME_INFO_ST   *audio_name_info_sp
);

Description

This subroutine calculates the total number of voice elements required to hold the audio name. The length of a voice element is:

Parameters

audio_name_parm_sp
A pointer to an AUDIO_NAME_PARM_ST input structure that is filled in as described in AUDIO_NAME_PARM_ST.
audio_name_info_sp
A pointer to an output AUDIO_NAME_INFO_ST output structure that will be filled in as described in AUDIO_NAME_INFO_ST.

Return codes

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

Error names

CA_ACCESS_NOBUFS
CA_AUDIO_NAME_NOT_FOUND
CA_INV_ADDR
CA_INV_COMPRESSION_TYPE
CA_INV_MAILBOX_ID
CA_INV_PROFILE_ID
CA_INV_REQUEST
CA_NO_MSG_RECV
CA_NOT_INIT
CA_OM_REQ_FAILED
CA_REQ_FAILED
CA_TERMINATING

Related information

CA_Create_Audio_Name(), CA_Delete_Audio_Name(), CA_Get_Audio_Name().