int smdc_tx_encoding(struct smdc_encoding_parms *encp)
typedef struct smdc_encoding_parms { tSMChannelId channel; /* in */ tSM_INT encoding; /* in */ tSM_INT encoding_config_length; /* in */ void *encoding_config_data; /* in */ } SMDC_ENCODING_PARMS;
Configures the transmit encoding for the output half of a channel which must have been already configured for data communications using smdc_channel_config().
For details of what encodings are available, and the format of their configuration data, see the document Prosody data communications Encodings.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody data communications API.