Voice API Programming Guide — June 2005 141
12
12.Cached Prompt Management
This chapter discusses the cached prompt management feature of the voice library. The following
topics are covered:
Overview of Cached Prompt Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Using Cached Prompt Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Cached Prompt Management Example Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
12.1 Overview of Cached Prompt Management
Cached prompt management is a feature that allows you to store a prompt file in the on-board
memory and subsequently retrieve it from this location rather than storing and retrieving from the
host computer. An advantage of this feature is that it reduces latency.
Cached prompt management is active on a board basis. A cached prompt cannot be restored to a
board that has been hot swapped. A cached prompt that is created on one board is not accessible
and cannot be used by other boards in the system. In addition, WAVE files cannot be played from
on-board cache memory. A cached prompt will be deleted or flushed from on-board cache memory
upon calling dx_close( ) on the physical board device.
The cached prompt management feature is not supported on Springware boards.
12.2 Using Cached Prompt Management
The following topics provide information on how to use cached prompt management:
Discovering Cached Prompt Capability
Downloading Cached Prompts to a Board
Playing Cached Prompts
Recovering from Errors
Cached Prompt Management Hints and Tips

12.2.1 Discovering Cached Prompt Capability

To determine whether a device has cached prompt capability, follow these steps:
1. Call SRLGetAllPhysicalBoards( ) to return the AUID of all the physical boards in the
system. AUID refers to Addressable Unique Identifier and is an opaque identifier for an
important object in the system. For information on this function, see the Standard Runtime
Library API Library Reference.