AuConvertDataToShort(3)
β¨ NAME β¨
okay so bestie, this is AuConvertDataToShort(3) from the Library Functions Manual β she converts audio data from the specified format to signed short integer. iconic behavior, honestly. π
π SYNOPSIS π
#include <audio/audiolib.h>
int AuConvertDataToShort(format, num_bytes, data)
int format;
int num_bytes;
AuPointer data;
πΈ ARGUMENTS πΈ
formatβ specifies the format of the data. Currently, the following data formats are defined:AuFormatULAW8,AuFormatLinearUnsigned8,AuFormatLinearSigned8,AuFormatLinearSigned16MSB,AuFormatLinearUnsigned16MSB,AuFormatSignedLinear16LSB, andAuFormatLinearUnsigned16LSB. β¨num_bytesβ specifies the number of bytes of data. πdataβ specifies the data to convert. π¦
π DESCRIPTION π
AuConvertDataToShort converts num_bytes of data from format to signed short integer, returning 0 if successful, or -1 if format isn't valid. periodt. no cap.
π SEE ALSO π
AuConvertShortToData.audiolib - Network Audio System C Language Interface
that's the whole page, bestie π«Ά source audioutil, version 1.9.5 β the date? not in this footer, but the vibe is timeless. and yes, the title stays AuConvertDataToShort(3). mwah πβ¨
π¦ where this page comes from
- fedora 43: nas-devel 1.9.5-11.fc41 Β· MIT
- fedora 43: nas-devel 1.9.5-11.fc41 Β· MIT
- fedora 43: nas-devel 1.9.5-14.fc43 Β· MIT
- fedora 43: nas-devel 1.9.5-14.fc43 Β· MIT
- fedora 44: nas-devel 1.9.5-15.fc44 Β· MIT
- fedora 44: nas-devel 1.9.5-15.fc44 Β· MIT
- copyright 1994 Steven King
- Copyright 1993 Network Computing Devices, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms