### patch number: 4 ### area: ./AF/lib/AFUtils and AF/lib/AFUtilman ### severity: low ### comments: patch using command "(cd ; patch -p < thisfile)" *** patchlevel.h Wed Mar 3 11:15:52 1993 --- /crl/audio/patchlevel.h Wed Mar 3 10:18:07 1993 *************** *** 0 **** --- 1 ---- + #define PATCHLEVEL 4 *** AF/lib/AFUtilman/AF_sample_sizes.man Wed Mar 3 11:13:05 1993 --- /crl/audio/AF/lib/AFUtilman/AF_sample_sizes.man Thu Feb 25 19:41:55 1993 *************** *** 0 **** --- 1,145 ---- + .ds xL AFUtillib \- C Language AudioFile Utilities + .na + .de Ds + .nf + .\\$1D \\$2 \\$1 + .ft 1 + .\".ps \\n(PS + .\".if \\n(VS>=40 .vs \\n(VSu + .\".if \\n(VS<=39 .vs \\n(VSp + .. + .de De + .ce 0 + .if \\n(BD .DF + .nr BD 0 + .in \\n(OIu + .if \\n(TM .ls 2 + .sp \\n(DDu + .fi + .. + .de FD + .LP + .KS + .TA .5i 3i + .ta .5i 3i + .nf + .. + .de FN + .fi + .KE + .LP + .. + .de IN \" send an index entry to the stderr + .tm \\n%:\\$1:\\$2:\\$3 + .. + .de C{ + .KS + .nf + .D + .\" + .\" choose appropriate monospace font + .\" the imagen conditional, 480, + .\" may be changed to L if LB is too + .\" heavy for your eyes... + .\" + .ie "\\*(.T"480" .ft L + .el .ie "\\*(.T"300" .ft L + .el .ie "\\*(.T"202" .ft PO + .el .ie "\\*(.T"aps" .ft CW + .el .ft R + .ps \\n(PS + .ie \\n(VS>40 .vs \\n(VSu + .el .vs \\n(VSp + .. + .de C} + .DE + .R + .. + .de Pn + .ie t \\$1\fB\^\\$2\^\fR\\$3 + .el \\$1\fI\^\\$2\^\fP\\$3 + .. + .de PN + .ie t \fB\^\\$1\^\fR\\$2 + .el \fI\^\\$1\^\fP\\$2 + .. + .de NT + .ne 7 + .ds NO Note + .if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2 + .if \\n(.$ .if !'\\$1'C' .ds NO \\$1 + .ie n .sp + .el .sp 10p + .TB + .ce + \\*(NO + .ie n .sp + .el .sp 5p + .if '\\$1'C' .ce 99 + .if '\\$2'C' .ce 99 + .in +5n + .ll -5n + .R + .. + . \" Note End -- doug kraft 3/85 + .de NE + .ce 0 + .in -5n + .ll +5n + .ie n .sp + .el .sp 10p + .. + .ny0 + .TH AF_sample_sizes 3AF "Release 2" "AudioFile Version 2" + .SH NAME + \fBAF_sample_sizes\fP \- information about encoding types + .SH SYNTAX + \fB#include \fP + .LP + .Ds 0 + .TA .5i 3i + .ta .5i 3i + struct AFSampleTypes { + unsigned int bits_per_samp; bits per sample (hint) + unsigned int bytes_per_unit; bytes per minimal block + unsigned int samples_per_unit; samples per minimal block + char *name; name of the encoding + } + .De + .LP + extern struct AFSampleTypes \fBAF_sample_sizes\fP[]; + .SH DESCRIPTION + .PN AF_sample_sizes + is a precomputed table you can link with your application. + It is indexed by values of the type AEncodeType found in audio.h. + For each of these encoding types, + .PN AF_sample_sizes + gives useful information. + .LP + .PN bits_per_sample + is a hint, since some encodings may not have an integer (or constant) + number of bits per sample. + .PN bytes_per_unit + is the block size of the encoding, while + .PN samples_per_unit + is the number of samples per block. + .PN name + is a text string, human sensible name for the encoding. + .LP + For example, a 3-bit-per-sample encoding such as a 24 Kbps ADPCM + would have bits_per_samp == 3, bytes_per_unit == 3, samples_per_unit == 8. + .SH "SEE ALSO" + AF(1) + .SH BUGS + We realize this data structure may not be adequate to describe + variable rate or variable block size formats. + .LP + If you encounter a \fBreproducible\fP bug, please + submit a problem report to (af-bugs@crl.dec.com). + .SH COPYRIGHT + Copyright 1990-1993, Digital Equipment Corporation. + .br + See \fIAudioFile(1)\fP for a full statement of rights and permissions. + .SH AUTHORS + Larry Stewart, + DEC Cambridge Research Lab *** ./AF/lib/AFUtilman/Imakefile Mon Feb 15 11:40:28 1993 --- /crl/audio/./AF/lib/AFUtilman/Imakefile Thu Feb 25 19:41:18 1993 *************** *** 15,21 **** AF_gain_u.man \ AF_mix_u.man \ AF_power_uf.man \ ! AF_sample_types.man \ AF_sine_int.man \ AoD.man --- 15,21 ---- AF_gain_u.man \ AF_mix_u.man \ AF_power_uf.man \ ! AF_sample_sizes.man \ AF_sine_int.man \ AoD.man *** ./AF/lib/AFUtilman/Makefile Wed Mar 3 10:52:58 1993 --- /crl/audio/./AF/lib/AFUtilman/Makefile Thu Feb 25 19:41:28 1993 *************** *** 2,8 **** # $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $ ########################################################################### ! # Makefile generated from "Imake.tmpl" and # $RCS: Imake.tmpl,v 1.77 89/12/18 17:01:37 jim Exp $ # # Platform-specific parameters may be set in the appropriate .cf --- 2,8 ---- # $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $ ########################################################################### ! # Makefile generated from "Imake.tmpl" and # $RCS: Imake.tmpl,v 1.77 89/12/18 17:01:37 jim Exp $ # # Platform-specific parameters may be set in the appropriate .cf *************** *** 182,188 **** AF_gain_u.man \ AF_mix_u.man \ AF_power_uf.man \ ! AF_sample_types.man \ AF_sine_int.man \ AoD.man --- 182,188 ---- AF_gain_u.man \ AF_mix_u.man \ AF_power_uf.man \ ! AF_sample_sizes.man \ AF_sine_int.man \ AoD.man *** ./AF/lib/AFUtil/AFUtils.h Mon Feb 15 12:04:20 1993 --- /crl/audio/./AF/lib/AFUtil/AFUtils.h Thu Feb 25 19:35:27 1993 *************** *** 93,100 **** char *name; }; ! extern struct AFSampleTypes AF_sample_types[]; ! /* arrary indexed by the AEncodeType in audio.h */ /*************************************************/ /* Useful subroutines */ --- 93,100 ---- char *name; }; ! extern struct AFSampleTypes AF_sample_sizes[]; ! /* array indexed by the AEncodeType in audio.h */ /*************************************************/ /* Useful subroutines */ *** ./AF/contrib/clients/autil/Imakefile Fri Feb 5 21:59:55 1993 --- /crl/audio/./AF/contrib/clients/autil/Imakefile Thu Feb 25 19:30:07 1993 *************** *** 10,13 **** --- 10,16 ---- NormalProgramTarget(apower, apower.o , $(DEPLIBS),$(LOCAL_LIBRARIES) ,-lm) NormalProgramTarget(atone, atone.o, $(DEPLIBS),$(LOCAL_LIBRARIES) , -lm) + InstallProgram(apower, $(BINDIR)) + InstallProgram(atone, $(BINDIR)) + DependTarget() *** ./README-V2 Tue Feb 9 08:15:33 1993 --- /crl/audio/./README-V2 Wed Feb 17 14:25:24 1993 *************** *** 38,44 **** your own using the AudioFile API and client library. AudioFile allows applications to generate and process audio in real-time but it also permits more leisurely applications. AudioFile is quite resistant to ! the vaguaries of scheduling and operating systems that can make handling audio difficult. We have successfully used AudioFile for both trivial applications (audio BIFF) and complex applications (real-time teleconferencing, speech synthesis and recognition.) --- 38,44 ---- your own using the AudioFile API and client library. AudioFile allows applications to generate and process audio in real-time but it also permits more leisurely applications. AudioFile is quite resistant to ! the vagaries of scheduling and operating systems that can make handling audio difficult. We have successfully used AudioFile for both trivial applications (audio BIFF) and complex applications (real-time teleconferencing, speech synthesis and recognition.) *************** *** 121,127 **** Several directories will be created in your local audio root directory. The "AF" sub-tree contains the source code for the ! AudioFile server, the AudioFile client libary, and several AudioFile client programs. The "devices" sub-tree contain the device specific code not related to the AF system. For example, the LoFi device library, LoFi device driver, and test programs are included here. --- 121,127 ---- Several directories will be created in your local audio root directory. The "AF" sub-tree contains the source code for the ! AudioFile server, the AudioFile client library, and several AudioFile client programs. The "devices" sub-tree contain the device specific code not related to the AF system. For example, the LoFi device library, LoFi device driver, and test programs are included here.