RECORD_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().
- record_count
- The maximum number of voice data records to return. Each record
represents 20 milliseconds of voice data, and occupies 160 bytes if
the data is uncompressed, 32 bytes if it is compressed.
- compression_type
- Should be set to UNCOMPRESSED_VOICE for asynchronous background
operations (see Using asynchronous background operation) or you
can set this to COMPRESSED_VOICE or UNCOMPRESSED_VOICE voice for synchronous
foreground operations (see Using synchronous foreground operations).
- wait_flag
- If CA_WAIT is set, the subroutine will suspend execution until
record_count records are available or recording has stopped on the
channel. If CA_NOWAIT is set, the subroutine will return immediately
with any data that is available, to a maximum of record_count voice
records.