NAME

wvscale - Return the scale of the data in the wavefile
wvbias - Return the bias of the data in the wavefile

SYNOPSIS

#include "wiodef.h"
float wvscale (WVFILE *wfp)
float wvbias (WVFILE *wfp)

DESCRIPTION

wvscale() returns the scale and wvbias() returns the bias of the data in the wavefile associated with wfp. The real sample value should be calculated as:
wvscale(wfp) * (float) wave_sample + wvbias(wfp);

SEE ALSO

Libcwav library

AUTHOR

H.T.Bunnell, Shirley Peters