PLAY_VOICE_STREAM_PARM_ST

channel_info_st
A CHANNEL_INFO_ST structure as defined in CHANNEL_INFO_ST, filled in as returned from a previous call to CA_Open_Channel() or CA_Open_Music_Channel().
voice_data
The address of the buffer containing the voice data to play.
record_count
The number of voice records to be played. Each record represents 20 milliseconds of voice data, and occupies 160 bytes if the data is uncompressed, or 32 bytes if the data is compressed.
compression_type
Indicates whether the voice data is in compressed (COMPRESSED_VOICE) or uncompressed (UNCOMPRESSED_VOICE) format. For music channels you should set this value to UNCOMPRESSED_VOICE.
volume_level
Specify the volume level (in dBm) of the voice data you want to play. Blueworx Voice Response amplifies the voice data so that it is played at the default volume level (which is normally set to -15 dBm).

For example, if you set volume_level to -20, Blueworx Voice Response amplifies the voice data by 5 dB to play it at a maximum volume of -15 dBm.

play_flags
If a delay is acceptable between playing this voice data and any subsequent voice data, set to PERMIT_UNDERRUN. If the data should be played continuously, set to UNDERRUN_NOT_EXPECTED. For music channels you should set this value to PERMIT_UNDERRUN.
wait_flag
If CA_WAIT is set, the subroutine may suspend execution until record_count records have been played on the channel. If CA_NOWAIT is set, the subroutine will play as much of the data as possible and return without suspending.