Class Util
Inheritance
System.Object
Util
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SIPSorcery.Media.G729Codec
Assembly: SIPSorcery.dll
Syntax
public class Util
Methods
| Improve this Doc View Sourcecopy(Single[], Int32, Single[], Int32)
Declaration
public static void copy(float[] x, int x_offset, float[] y, int L)
Parameters
Type | Name | Description |
---|---|---|
System.Single[] | x | |
System.Int32 | x_offset | |
System.Single[] | y | |
System.Int32 | L |
copy(Single[], Int32, Single[], Int32, Int32)
Declaration
public static void copy(float[] x, int x_offset, float[] y, int y_offset, int L)
Parameters
Type | Name | Description |
---|---|---|
System.Single[] | x | |
System.Int32 | x_offset | |
System.Single[] | y | |
System.Int32 | y_offset | |
System.Int32 | L |
copy(Single[], Single[], Int32)
Declaration
public static void copy(float[] x, float[] y, int L)
Parameters
Type | Name | Description |
---|---|---|
System.Single[] | x | |
System.Single[] | y | |
System.Int32 | L |
fread(Int16[], Int32, Stream)
Declaration
public static int fread(short[] data, int length, Stream fp)
Parameters
Type | Name | Description |
---|---|---|
System.Int16[] | data | |
System.Int32 | length | |
System.IO.Stream | fp |
Returns
Type | Description |
---|---|
System.Int32 |
fwrite(Int16[], Int32, Stream)
Declaration
public static void fwrite(short[] data, int length, Stream fp)
Parameters
Type | Name | Description |
---|---|---|
System.Int16[] | data | |
System.Int32 | length | |
System.IO.Stream | fp |
random_g729()
Declaration
public static short random_g729()
Returns
Type | Description |
---|---|
System.Int16 |
set_zero(Single[], Int32)
Declaration
public static void set_zero(float[] x, int L)
Parameters
Type | Name | Description |
---|---|---|
System.Single[] | x | |
System.Int32 | L |
set_zero(Single[], Int32, Int32)
Declaration
public static void set_zero(float[] x, int offset, int length)
Parameters
Type | Name | Description |
---|---|---|
System.Single[] | x | |
System.Int32 | offset | |
System.Int32 | length |