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

FreeBSD Manual Pages

  
 
  

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

Name
     AuConvertDataToShort  -  convert  audio  data  from the specified format to
     signed short integer.

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, Au-
	       FormatLinearSigned8, AuFormatLinearSigned16MSB, AuFormatLinearUn-
	       signed16MSB,  AuFormatSignedLinear16LSB,  and   AuFormatLinearUn-
	       signed16LSB.

     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.

See Also
     AuConvertShortToData.

     audiolib - Network Audio System C Language Interface

audioutil			      1.9.4		 AuConvertDataToShort(3)

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

home | help