AuConvertDataToShort(3)

πŸ“¦ version 1.9.5, in fedora 43, fedora 44

✨ 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, and AuFormatLinearUnsigned16LSB. ✨
  • 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