man pages section 3: Multimedia Library Functions

Exit Print View

Updated: July 2014
 
 

mlib_SignalSplit_S16_S16S (3MLIB)

Name

mlib_SignalSplit_S16_S16S - split

Synopsis

cc [ flag... ] file... –lmlib [ library... ]
#include <mlib.h>

mlib_status mlib_SignalSplit_S16_S16S(mlib_s16 *ch0, 
     mlib_s16 *ch1, const mlib_s16 *src, mlib_s32 n);

Description

The following function splits a stereo signal array into two signal arrays.

Parameters

The function takes the following arguments:

ch0

Destination signal array of Channel 0.

ch1

Destination signal array of Channel 1.

src

Source stereo signal array. src[2*i] contains Channel 0, and src[2*i+1] contains Channel 1.

n

Number of samples in the source signal 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_SignalMerge_S16S_S16(3MLIB), attributes(5)