mlib_signalalaw2ulaw(3mlib) [opensolaris man page]
mlib_SignalALaw2uLaw(3MLIB) mediaLib Library Functions mlib_SignalALaw2uLaw(3MLIB)NAME
mlib_SignalALaw2uLaw - ITU G.711 m-law and A-law compression and decompression
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_SignalALaw2uLaw(mlib_u8 *ucode, const mlib_u8 *acode,
mlib_s32 n);
DESCRIPTION
The mlib_SignalALaw2uLaw() 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:
ucode m-law code 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 |Committed |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO mlib_SignalALaw2Linear(3MLIB), mlib_SignalLinear2ALaw(3MLIB), mlib_SignalLinear2uLaw(3MLIB), mlib_SignaluLaw2ALaw(3MLIB), mlib_Signalu-
Law2Linear(3MLIB), attributes(5)SunOS 5.11 2 Mar 2007 mlib_SignalALaw2uLaw(3MLIB)
Check Out this Related Man Page
mlib_SignalLinear2ADPCM5Bits(3MLIB) mediaLib Library Functions mlib_SignalLinear2ADPCM5Bits(3MLIB)NAME
mlib_SignalLinear2ADPCM5Bits - adaptive differential pulse code modulation (ADPCM)
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_SignalLinear2ADPCM5Bits(mlib_u8 *adpcm,
const mlib_s16 *pcm, void *state, mlib_s32 n);
DESCRIPTION
The mlib_SignalLinear2ADPCM5Bits() 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 40kbps 5-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 |Committed |
+-----------------------------+-----------------------------+
|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-
nalLinear2ADPCM3Bits(3MLIB), mlib_SignalLinear2ADPCM4Bits(3MLIB), attributes(5)SunOS 5.11 2 Mar 2007 mlib_SignalLinear2ADPCM5Bits(3MLIB)
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)
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)
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)
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)