Unit AudioIO

File Name: AudioIO.PAS V 4.00 Created: 5-Oct-96 by John Mertus on the IBM PC Revision #1: 5-Oct-22 by John Mertus -John Mertus Version 1.00 Initial Release There are three Sound Components, the first is the base Component, TAudioIO. This defines the sampling rates, buffers and some of the common events. The second component is AudioOut, which started just loops playing out buffers. The third component is AudioIN, which, when started, just loops filling buffer with digital data. See AudioIO.Hlp for detailed explaination. {-----------------Unit-AudioOut-------------------John Mertus---Oct 96---

Classes

TAudioIn - ---------------------------TAudioIn Component-----------------------------
TAudioIO - ---------------------------TAudioIO Component-----------------------------
TAudioOut - ---------------------------TAudioOut Component-----------------------------
TCallBackWinIn - Published declarations
TCallBackWinOut -

Functions

Register - This just gets the error text assocated with the output error ierr.

Types

PAudioIn
PAudioIO
PAudioOut
TBufferEvent

Constants

MAXBUFFERS

Variables


Functions


procedure Register;

This just gets the error text assocated with the output error ierr. } { } {

Types


PAudioIn  = ^TAudioIn

PAudioIO = ^TAudioIO

PAudioOut = ^TAudioOut

TBufferEvent = Function(Buffer : pChar; Var Size : Integer) : Boolean of Object
TBuffer Event is what is called when a buffer is need or is full

Constants

MAXBUFFERS = 4

Could make this dynamic, but the effort doesn't seem worth it.

Variables