(Page 1 of 1 in this chapter)


Chapter 4

Getting Status


4.1 Introduction
4.1.1 CTA Context Status
4.1.2 Voice Object Information

4.1 Introduction

This chapter explains how you can retrieve status information with respect to the CTA context and with respect to a specific voice handle.

4.1.1 CTA Context Status

vceGetContextInfo returns the current Voice Message service status of the specified CTA context. This includes information about the current, or most recent, play or record operation.

The status block includes:

The millisecond and position values are updated as each buffer is submitted internally for play or completed for record.

Note: When play ends, the values may be adjusted downward if not all of the data submitted to the device was actually played.

4.1.2 Voice Object Information

The following table lists when to use the voice object information functions available in the CT Access Voice Message service:

If you want to...

Then use...

Get the file type, open mode, or associated context of an open voice object

vceGetOpenInfo

Get the size of a specified message in milliseconds

vceGetMessageSize

Get the highest message number currently in use in the voice object

vceGetHighMessageNumber

Get the lowest unused message number for the voice object

vceGetUniqueMessageNumber

Refer to Section 9.2.2 for details about the demonstration program that displays information about a voice file.



(Page 1 of 1 in this chapter)


tech_support@nmss.com
Copyright © 1999, Natural MicroSystems, Inc. All rights reserved.