AuConvertDataToShort(3) | Library Functions Manual | AuConvertDataToShort(3) |
AuConvertDataToShort - convert audio data from the specified format to signed short integer.
#include <audio/audiolib.h>
int AuConvertDataToShort(format, num_bytes,
data)
int format;
int num_bytes;
AuPointer data;
AuConvertDataToShort converts num_bytes of data from format to signed short integer, returning 0 if successful, or -1 if format isn't valid.
AuConvertShortToData.
audiolib - Network Audio System C Language Interface
1.9.4 | audioutil |