NAME

locseg - Locate a segment in the given wave file.

SYNOPSIS

#include "wiodef.h"
short locseg (WVFILE *wfp, char *segnam, long *begbyt, long *endbyt);

DESCRIPTION

locseg() searches through the segment table of wfp for segnam. On success, pointers to the the segment's endpoints are assigned to begbyt and endbyt. On failure, (-1) is returned.

SEE ALSO

wavgst(), wavpst(),
Libcwav library

AUTHOR

Y. Chen, H.T.Bunnell, Shirley Peters