| Current File : //usr/man/man3mlib/mlib_SignalMulS_F32_F32.3mlib |
'\" te
.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved
.TH mlib_SignalMulS_F32_F32 3MLIB "2 Mar 2007" "SunOS 5.11" "mediaLib Library Functions"
.SH NAME
mlib_SignalMulS_F32_F32, mlib_SignalMulS_F32S_F32S \- multiplication by a scalar
.SH SYNOPSIS
.LP
.nf
cc [ \fIflag\fR... ] \fIfile\fR... \fB-lmlib\fR [ \fIlibrary\fR... ]
#include <mlib.h>
\fBmlib_status\fR \fBmlib_SignalMulS_F32_F32\fR(\fBmlib_f32 *\fR\fIdst\fR, \fBconst mlib_f32 *\fR\fIsrc\fR,
\fBconst mlib_f32 *\fR\fIc\fR, \fBmlib_s32\fR \fIn\fR);
.fi
.LP
.nf
\fBmlib_status\fR \fBmlib_SignalMulS_F32S_F32S\fR(\fBmlib_f32 *\fR\fIdst\fR, \fBconst mlib_f32 *\fR\fIsrc\fR,
\fBconst mlib_f32 *\fR\fIc\fR, \fBmlib_s32\fR \fIn\fR);
.fi
.SH DESCRIPTION
.sp
.LP
Each of these functions performs multiplication by a scalar.
.SH PARAMETERS
.sp
.LP
Each of the functions takes the following arguments:
.sp
.ne 2
.mk
.na
\fB\fIdst\fR\fR
.ad
.RS 7n
.rt
Output signal array.
.RE
.sp
.ne 2
.mk
.na
\fB\fIsrc\fR\fR
.ad
.RS 7n
.rt
Input signal array.
.RE
.sp
.ne 2
.mk
.na
\fB\fIc\fR\fR
.ad
.RS 7n
.rt
Scaling factor. In the stereo version, \fBc[0]\fR contains the scaling factor for channel 0, and \fBc[1]\fR holds the scaling factor for channel 1.
.RE
.sp
.ne 2
.mk
.na
\fB\fIn\fR\fR
.ad
.RS 7n
.rt
Number of samples in the input signal arrays.
.RE
.SH RETURN VALUES
.sp
.LP
Each of the functions returns \fBMLIB_SUCCESS\fR if successful. Otherwise it returns \fBMLIB_FAILURE\fR.
.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
.TS
tab() box;
cw(2.75i) |cw(2.75i)
lw(2.75i) |lw(2.75i)
.
ATTRIBUTE TYPEATTRIBUTE VALUE
_
Interface StabilityCommitted
_
MT-LevelMT-Safe
.TE
.SH SEE ALSO
.sp
.LP
\fBmlib_SignalMulS_F32\fR(3MLIB), \fBattributes\fR(5)