man3/libAFUtil.3

#

    libAFUtil(3)							 libAFUtil(3)

    NAME
      libAFUtil.a -	Utility	AF Library

    Header Files
      #include <AF/AFUtils.h>

    Gain Control

      extern double	AFLintodB(double lin);

      extern double	AFdBtoLin(double dB);

      extern void AFMakeGainTableU(unsigned	char *table, double dBgain);

      extern void AFMakeGainTableA(unsigned	char *table, double dBgain);

    Signal Generation

      extern void AFSilence(AEncodeType encoding, void* buffer, int	nUnits);

      extern double	AFSingleTone(double freq, double peak,
    					  double phase,
    					  float	*buffer, int length);

      extern void AFTonePair(double	f1, double dBgain1,
    					  double f2, double dBgain2,
    					  int gainramp,
    					  unsigned char	*buffer, int length);

    Miscellaneous

      extern void AoD(int bool, char *errmsg, ...);

    Conversion Tables

      extern unsigned char AF_comp_u[];

      extern unsigned char AF_comp_a[];

      extern short int AF_exp_u[];

      extern short int AF_exp_a[];

      extern short int AF_cvt_u2s[];

      extern short int AF_cvt_a2s[];

      extern float AF_cvt_u2f[];

      extern float AF_cvt_a2f[];

    Mixing Tables

      extern unsigned char AF_mix_u[];

      extern unsigned char AF_mix_a[];

    Gain Tables

      extern int AF_gain_min_u, AF_gain_max_u;

      extern unsigned char *AF_gain_table_u[];

      extern int AF_gain_min_a, AF_gain_max_a;

      extern unsigned char *AF_gain_table_a[];

    Power Tables
      extern float AF_power_uf[];

      extern float AF_power_af[];

    Sine Wave Tables

      extern int AF_sine_int[];

      extern float AF_sine_float[];

    Encoding Information Tables

      extern struct	AFSampleTypes AF_sample_sizes[];

      extern AEncodeType AFFindEncodeType(char *type);

      extern void AFPrintKnownEncodeTypes(void);

    SEE ALSO
      libAF(3), AF(1)
      AFLintodB(3),	AFdBtoLin(3), AFMakeGainTableU(3),
      AFMakeGainTableA(3), AFSilence(3), AFSingleTone(3),
      AFTonePair(3), AoD(3),
      AFFindEncodeType(3), AFPrintKnownEncodeTypes(3),
      AF_comp_u(3),	AF_comp_a(3), AF_exp_u(3), AF_exp_a(3),
      AF_cvt_u2s(3), AF_cvt_a2s(3),	AF_cvt_u2f(3),
      AF_cvt_a2f(3), AF_mix_u(3), AF_mix_a(3),
      AF_gain_table_u(3), AF_gain_table_a(3), AF_power_uf(3),
      AF_power_af(3), AF_sine_int(3), AF_sine_float(3),
      AF_sample_sizes(3), AF_gain_min_a(3),	AF_gain_max_a(3),
      AF_gain_min_u(3), AF_gain_max_u(3)

    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
      Digital Cambridge Research Lab