Prosody WAV FILE: API: sm_replay_wav_get_type

Prototype Definition

int sm_replay_wav_get_type(char *filename, int *replay_type)

Parameters

filename
The name of a WAV file.
replay_type
The address of where the data type code is to be saved.

Description

Given name of existing WAV file, returns in replay_type Prosody API data format type id that would be used by sm_replay_start().

Returns

0 if call completed successfully, otherwise a standard error such as:


This function is part of the Prosody WAV FILE API.