Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
AuConvertShortToData(3)     Library Functions Manual	 AuConvertShortToData(3)

Name
     AuConvertShortToData  - convert signed short integers to the specified for-
     mat.

Synopsis
     #include <audio/audiolib.h>

     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,  AuFormatLin-
	       earUnsigned16MSB,  AuFormatSignedLinear16LSB,  and   AuFormatLin-
	       earUnsigned16LSB.

     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

audioutil			      1.9.4		 AuConvertShortToData(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=AuConvertShortToData&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help