AFSilence(3) AFSilence(3) NAME AFSilence - fill a block with silence based on encoding SYNTAX #include <AF/AFUtils.h> extern void AFSilence(AEncodeType encoding, void* buffer, int nUnits); DESCRIPTION AFSilence will fill a buffer with the appropriate silence data for the specified encoding. The buffer should be large enough to hold the data for the number of units specified as an argument. ARGUMENTS encoding Must be one of the known encoding types as listed in <audio.h>. buffer A pointer to a client buffer large enough to hold nUnits of silence data for the specified encoding type. The size in bytes is equal to AF_samples_sizes[encoding].bytes_per_unit*nUnits. nUnits The number of units of silence that should be generated and written to buffer. SEE ALSO AF_sample_sizes(3), AFCreateAC(3), AFChangeAC(3) AF(1) BUGS If you encounter a reproducible bug, please submit a problem report to (af-bugs@crl.dec.com). COPYRIGHT Copyright 1990-1994, Digital Equipment Corporation. See AF(1) for a full statement of rights and permissions. AUTHORS Larry Stewart, Digital Cambridge Research Lab