Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mlib_signalulaw2linear(3mlib) [opensolaris man page]

mlib_SignaluLaw2Linear(3MLIB)				    mediaLib Library Functions				     mlib_SignaluLaw2Linear(3MLIB)

NAME
mlib_SignaluLaw2Linear - ITU G.711 m-law and A-law compression and decompression SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_SignaluLaw2Linear(mlib_s16 *pcm, const mlib_u8 *ucode, mlib_s32 n); DESCRIPTION
The mlib_SignaluLaw2Linear() function performs ITU G.711 m-law and A-law compression and decompression in compliance with the ITU (formerly CCITT) G.711 specification. PARAMETERS
The function takes the following arguments: pcm Linear PCM sample array. ucode m-law code array. n Number of samples in the input array. RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
mlib_SignalALaw2Linear(3MLIB), mlib_SignalALaw2uLaw(3MLIB), mlib_SignalLinear2ALaw(3MLIB), mlib_SignalLinear2uLaw(3MLIB), mlib_Signalu- Law2ALaw(3MLIB), attributes(5) SunOS 5.11 2 Mar 2007 mlib_SignaluLaw2Linear(3MLIB)

Check Out this Related Man Page

mlib_SignalADPCM2Bits2Linear(3MLIB)			    mediaLib Library Functions			       mlib_SignalADPCM2Bits2Linear(3MLIB)

NAME
mlib_SignalADPCM2Bits2Linear - adaptive differential pulse code modulation (ADPCM) SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_SignalADPCM2Bits2Linear(mlib_s16 *pcm, const mlib_u8 *adpcm, void *state, mlib_s32 n); DESCRIPTION
The mlib_SignalADPCM2Bits2Linear() function performs adaptive differential pulse code modulation (ADPCM) in compliance with the ITU (former CCITT) G.721, G.723, and G.726 specifications. It converts data from G.723 or G.726 16kbps 2-bit ADPCM to 16-bit linear PCM format. PARAMETERS
The function takes the following arguments: pcm Linear PCM sample array. adpcm ADPCM code array. state Internal structure of the codec. n Number of samples in the source array. RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
mlib_SignalADPCM3Bits2Linear(3MLIB), mlib_SignalADPCM4Bits2Linear(3MLIB), mlib_SignalADPCM5Bits2Linear(3MLIB), mlib_SignalADPCMFree(3MLIB), mlib_SignalADPCMInit(3MLIB), mlib_SignalLinear2ADPCM2Bits(3MLIB), mlib_SignalLinear2ADPCM3Bits(3MLIB), mlib_SignalLinear2ADPCM4Bits(3MLIB), mlib_SignalLinear2ADPCM5Bits(3MLIB), attributes(5) SunOS 5.11 2 Mar 2007 mlib_SignalADPCM2Bits2Linear(3MLIB)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Permission 711---RWX---X---X

I have a file with permisson 711; but when an other user run the program, it can't open. This is the message: /sbin/sh: ./myprogram: cannot open Can any1 tell me why please? Thanks! (6 Replies)
Discussion started by: bobo
6 Replies

2. UNIX for Dummies Questions & Answers

find and head -1

i have lots of files in /law/prod and /law/dev, such as AP20PD, AP20WS, AP20.scr, AP20.rpt if i am in /law DIR find . -name AP20PD, found in /law/prod and /law/dev i want to head -1 AP20PD from both location and >> /tmp/test.log can i use find and head in one line ? ----------... (1 Reply)
Discussion started by: tjmannonline
1 Replies

3. Hardware

scsi for Sun 711 multipack

Hello, I have a sun multipack 711 (6 disk version) I want to add disk and wondered which scsi disk and scsi interface would be appropriate. According to my research the 711 is ultra scsi. Looking on ebay its difficult to ascertain which type of scsi interface would be best. I simply want to... (1 Reply)
Discussion started by: Carlt23
1 Replies

4. Shell Programming and Scripting

Modify awk statement

how do i modify the following: echo "jaba law welcome no jaba law sorry now jaba law" | awk '{s+=gsub(/jaba law/,"jaba law")} END {print s}' so that it shows me the actual phrase it found matching the strings i specified? something like: jaba law jaba law jaba law (4 Replies)
Discussion started by: SkySmart
4 Replies

5. UNIX for Dummies Questions & Answers

Check "A law" or "Mu law"

Does anyone know how to check if a .wav file is encoded with "A law" or "Mu law" in Linux and PC? I tried sox --i filename.wav on my PC, but I don't think it tell you if the file is A law or Mu law. Thanks. (2 Replies)
Discussion started by: learnix
2 Replies