Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mlib_signalalaw2linear(3mlib) [sunos man page]

mlib_SignalALaw2Linear(3MLIB)				    mediaLib Library Functions				     mlib_SignalALaw2Linear(3MLIB)

NAME
mlib_SignalALaw2Linear - ITU G.711 m-law and A-law compression and decompression SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_SignalALaw2Linear(mlib_s16 *pcm, const mlib_u8 *acode, mlib_s32 n); DESCRIPTION
The mlib_SignalALaw2Linear() function performs ITU G.711 m-law and A-law compression and decompression in compliance with the ITU (Former CCITT) G.711 specification. PARAMETERS
The function takes the following arguments: pcm Linear PCM sample array. acode A-law code array. 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 |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
mlib_SignalALaw2uLaw(3MLIB), mlib_SignalLinear2ALaw(3MLIB), mlib_SignalLinear2uLaw(3MLIB), mlib_SignaluLaw2ALaw(3MLIB), mlib_Signalu- Law2Linear(3MLIB), attributes(5) SunOS 5.10 9 Nov 2004 mlib_SignalALaw2Linear(3MLIB)

Check Out this Related Man Page

mlib_SignalLinear2ADPCM3Bits(3MLIB)			    mediaLib Library Functions			       mlib_SignalLinear2ADPCM3Bits(3MLIB)

NAME
mlib_SignalLinear2ADPCM3Bits - adaptive differential pulse code modulation (ADPCM) SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_SignalLinear2ADPCM3Bits(mlib_u8 *adpcm, const mlib_s16 *pcm, void *state, mlib_s32 n); DESCRIPTION
The mlib_SignalLinear2ADPCM3Bits() 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 16-bit linear PCM to G.723 or G.726 24kbps 3-bit ADPCM format. PARAMETERS
The function takes the following arguments: adpcm ADPCM code array. pcm Linear PCM sample 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 |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
mlib_SignalADPCM2Bits2Linear(3MLIB), mlib_SignalADPCM3Bits2Linear(3MLIB), mlib_SignalADPCM4Bits2Linear(3MLIB), mlib_SignalADPCM5Bits2Lin- ear(3MLIB), mlib_SignalADPCMFree(3MLIB), mlib_SignalADPCMInit(3MLIB), mlib_SignalLinear2ADPCM2Bits(3MLIB), mlib_Sig- nalLinear2ADPCM4Bits(3MLIB), mlib_SignalLinear2ADPCM5Bits(3MLIB), attributes(5) SunOS 5.10 9 Nov 2004 mlib_SignalLinear2ADPCM3Bits(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