BASS.NET API for the Un4seen BASS Audio LibraryUtilsAbsSignMax Method (Int16, Int16)BASS.NET API for the Un4seen BASS Audio Library
Returns the absolute signed maximum value of two values.

Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public static short AbsSignMax(
	short val1,
	short val2
)

Parameters

val1
Type: SystemInt16
The first value to compare.
val2
Type: SystemInt16
The second value to compare.

Return Value

Type: Int16
The signed value of the parameter whose absolute value is greater.
Remarks

The two values are compared by their absolute unsigned value but are returned with their signed value. E.g. -10000 will be returned by comparing -10000 and +8000.
See Also

Reference