Rechercher une page de manuel
AuConvertShortToData.3nas
Langue: en
Version: 1.2 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Name
AuConvertShortToData - convert signed short integers to the specified format.Synopsis
int AuConvertShortToData(format, num_bytes, data)
int format;
int num_bytes;
AuPointer data;
Arguments
- format
- Specifies the format to convert to. Currently, the following data formats are defined: AuFormatULAW8, AuFormatLinearUnsigned8, AuFormatLinearSigned8, AuFormatLinearSigned16MSB, AuFormatLinearUnsigned16MSB, AuFormatSignedLinear16LSB, and AuFormatLinearUnsigned16LSB.
- num_bytes
- Specifies the number of bytes of data.
- data
- Specifies the data to convert.
Description
AuConvertShortToData converts num_bytes of data from signed short integer to format, returning 0 if successful, or -1 if format isn't valid.See Also
AuConvertDataToShort.audiolib - Network Audio System C Language Interface
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre