Class ALSimpleAudioBuffer.TALAudioBuffer
From Mitov Wiki Doc
				
				
				
				
																
				
				
								
				This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: AudioLabBasicPkg
Unit: ALSimpleAudioBuffer
Inherits: TMLMediaBuffer
Contents | 
Syntax
Delphi:
type TALAudioBuffer = class( TMLMediaBuffer, IALAudioBuffer )
C++ Builder:
class TALAudioBuffer : public TMLMediaBuffer
Visual C++ (MFC):
class CTALAudioBuffer : public CTMLMediaBuffer
C# (.NET):
public ref class TALAudioBuffer : Mitov.AudioLab.MediaBuffer
Summary
Audio buffer
Description
Defines Audio buffer. Use this buffer to access and manipulate the audio from inside your Delphi code. .NET, C++ Builder, and Visual C++ users should use the much more convinient and powerful TVLCAudioBuffer class.
Note
Delphi only.
Properties
Public
Methods
Public
- procedure Resize(Size : Cardinal; PreserveData : Boolean) - Resizes the buffer.
 - function MakeCopy() : TInterfacedObject - Creates new identical buffer.
 - function GetByteSize() : Cardinal - Returns the size of the buffer in bytes.
 - function GetSize() : Cardinal - Returns the size of the buffer in audio samples.
 
From TSLGenericBuffer
Methods
Public
- function MakeCopy() : TInterfacedObject
 - procedure SaveToFile(AFileName : String)
 - procedure LoadFromFile(AFileName : String)
 - function IsEqual(Other : ISLDataBuffer) : Boolean
 - procedure Unique(PreserveData : Boolean)
 - function MakeUnique(PreserveData : Boolean) : Boolean
 - function GetByteSize() : Cardinal
 - function GetSize() : Cardinal
 - function ByteRead() : PByte
 - function ByteWrite() : PByte
 - function ByteModify() : PByte
 - procedure RemoveOwnerShip()
 - function OwnsData() : Boolean
 - function GetDataBufferIntf() : ISLDataBuffer