diff --git a/ulaw.php b/ulaw.php new file mode 100644 index 0000000..1c59ae1 --- /dev/null +++ b/ulaw.php @@ -0,0 +1,16 @@ +> SEG_SHIFT; + return /*pack("s",*/intval(($u_val & SIGN_BIT) ? (BIAS - $t) : ($t - BIAS))/*)*/; +} +?>