AuConvertDataToShort(3)
β¨ AuConvertDataToShort(3) β¨
okay bestie, welcome to the manual page for AuConvertDataToShort(3). it's giving audio-data glow-up, no cap. π
π Name π
AuConvertDataToShort β convert audio data from the specified format to signed short integer. periodt. π
π¦ Synopsis π¦
#include <audio/audiolib.h>
int AuConvertDataToShort(format, num_bytes, data)
int format;
int num_bytes;
AuPointer data;
π«Ά Arguments π«Ά
formatβ tells you the format of the data. rn the following data formats are defined:AuFormatULAW8,AuFormatLinearUnsigned8,AuFormatLinearSigned8,AuFormatLinearSigned16MSB,AuFormatLinearUnsigned16MSB,AuFormatSignedLinear16LSB, andAuFormatLinearUnsigned16LSB. so many formats, we love options. β¨num_bytesβ the number of bytes of data. literally the byte count. πdataβ the data to convert. hand it over, bestie. π«Ά
π Description π
AuConvertDataToShort converts num_bytes of data from format to signed short integer. it returns 0 if successful, or -1 if format isn't valid. that's the whole vibe. if it works, 0; if the format is not valid, -1. no cap. π
π See Also π
AuConvertShortToData.audiolib- Network Audio System C Language Interface.
and that's the page, babe. the footer is serving source audioutil, version 1.9.4, manual AuConvertDataToShort(3) β no date on this one, so the date slot is just empty. slay. πβ¨
π¦ where this page comes from
- debian bookworm: libaudio-dev 1.9.4-7
- debian trixie: libaudio-dev 1.9.4-9
- ubuntu jammy: libaudio-dev 1.9.4-7build1
- ubuntu noble: libaudio-dev 1.9.4-8
- ubuntu questing: libaudio-dev 1.9.4-9
- ubuntu resolute: libaudio-dev 1.9.4-9.2
- ubuntu stonking: libaudio-dev 1.9.4-9.2
- 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