TMemoryIn


Properties Methods Events

Unit: ACS_Misc

Descends from: TACSInput

TMemoryIn component allows you to wedge audio data from memory into the sound processing chain. In order to process acquired data you have to assign MeemoryIn component to Input property of some converter or output component.

In order to work with MemoryIn component you have to allocate some memory area and assign its pointer to MemoryIn.DataBuffer property. MemoryIn.DataSize property has to be assigned the size of data in the buffer. Then you have to fill the buffer with data and start processing chain by calling Run method of the output component on the end of the chain. When all the data in the buffer are processed, Memory In component generates OnBufferDone Event. In this event's handler you can fill buffer with new portion of data and set DataSize property to the new data size or to set DataSize to zero, indicating that the data has ended.


TMemoryIn Properties

DataBuffer

DataSize

InBitsPerSample

InChannels

InSampleRate

Inherited from TACSInput


TMemoryIn Methods

Inherited from TACSInput


TMemoryIn Events

OnBufferDone


ACS Classes Home


Copyright © 2002, 2003 Andrei Borovsky. All rights reserved.