GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
AuConvertDataToShort(3) FreeBSD Library Functions Manual AuConvertDataToShort(3)

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

#include <audio/audiolib.h>

int AuConvertDataToShort(format, num_bytes, data) int format; int num_bytes; AuPointer data;

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.

AuConvertDataToShort converts num_bytes of data from format to signed short integer, returning 0 if successful, or -1 if format isn't valid.

AuConvertShortToData.

audiolib - Network Audio System C Language Interface

1.9.4 audioutil

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.