Class ALSimpleAudioBuffer.TALAudioBuffer
From Mitov Wiki Doc
				
				
				(Difference between revisions)
				
																
				
				
								
				 (Automated Syncronization with Documentation)  | 
		 (Automated Syncronization with Documentation)  | 
		||
| Line 54: | Line 54: | ||
*[[Method function ALSimpleAudioBuffer.TALAudioBuffer.GetSize() : Cardinal|function GetSize() : Cardinal]] - Returns the size of the buffer in audio samples.    | *[[Method function ALSimpleAudioBuffer.TALAudioBuffer.GetSize() : Cardinal|function GetSize() : Cardinal]] - Returns the size of the buffer in audio samples.    | ||
| − | == From [[Class SLSimpleDataBuffer.  | + | == From [[Class SLSimpleDataBuffer.TSLGenericBuffer|TSLGenericBuffer]] ==  | 
== Methods ==  | == Methods ==  | ||
=== Public ===  | === Public ===  | ||
| − | *[[Method function SLSimpleDataBuffer.  | + | *[[Method function SLSimpleDataBuffer.TSLGenericBuffer.MakeCopy() : TInterfacedObject|function MakeCopy() : TInterfacedObject]]  | 
| − | *[[Method function SLSimpleDataBuffer.  | + | *[[Method procedure SLSimpleDataBuffer.TSLGenericBuffer.SaveToFile(String)|procedure SaveToFile(AFileName : String)]]  | 
| − | *[[Method function SLSimpleDataBuffer.  | + | *[[Method procedure SLSimpleDataBuffer.TSLGenericBuffer.LoadFromFile(String)|procedure LoadFromFile(AFileName : String)]]  | 
| − | *[[Method function SLSimpleDataBuffer.  | + | *[[Method function SLSimpleDataBuffer.TSLGenericBuffer.IsEqual(ISLDataBuffer) : Boolean|function IsEqual(Other : ISLDataBuffer) : Boolean]]  | 
| + | *[[Method procedure SLSimpleDataBuffer.TSLGenericBuffer.Unique(Boolean)|procedure Unique(PreserveData : Boolean)]]  | ||
| + | *[[Method function SLSimpleDataBuffer.TSLGenericBuffer.MakeUnique(Boolean) : Boolean|function MakeUnique(PreserveData : Boolean) : Boolean]]  | ||
| + | *[[Method function SLSimpleDataBuffer.TSLGenericBuffer.GetByteSize() : Cardinal|function GetByteSize() : Cardinal]]  | ||
| + | *[[Method function SLSimpleDataBuffer.TSLGenericBuffer.GetSize() : Cardinal|function GetSize() : Cardinal]]  | ||
| + | *[[Method function SLSimpleDataBuffer.TSLGenericBuffer.ByteRead() : PByte|function ByteRead() : PByte]]  | ||
| + | *[[Method function SLSimpleDataBuffer.TSLGenericBuffer.ByteWrite() : PByte|function ByteWrite() : PByte]]  | ||
| + | *[[Method function SLSimpleDataBuffer.TSLGenericBuffer.ByteModify() : PByte|function ByteModify() : PByte]]  | ||
| + | *[[Method procedure SLSimpleDataBuffer.TSLGenericBuffer.RemoveOwnerShip()|procedure RemoveOwnerShip()]]  | ||
| + | *[[Method function SLSimpleDataBuffer.TSLGenericBuffer.OwnsData() : Boolean|function OwnsData() : Boolean]]  | ||
| + | *[[Method function SLSimpleDataBuffer.TSLGenericBuffer.GetDataBufferIntf() : ISLDataBuffer|function GetDataBufferIntf() : ISLDataBuffer]]  | ||
| + | |||
| + | == From [[Class SLSimpleDataBuffer.TSLData|TSLData]] ==  | ||
| + | |||
| + | == Methods ==  | ||
| + | |||
| + | === Public ===  | ||
| + | *[[Method procedure SLSimpleDataBuffer.TSLData.AssignData(ISLData)|procedure AssignData(AOther : ISLData)]]  | ||
| + | *[[Method function SLSimpleDataBuffer.TSLData.GetInstance() : TObject|function GetInstance() : TObject]]  | ||
| + | *[[Method function SLSimpleDataBuffer.TSLData.MakeCopy() : TInterfacedObject|function MakeCopy() : TInterfacedObject]]  | ||
| + | *[[Method function SLSimpleDataBuffer.TSLData.MakeIntfCopy() : ISLData|function MakeIntfCopy() : ISLData]]  | ||
| + | *[[Method function SLSimpleDataBuffer.TSLData.GetDataIntf() : ISLData|function GetDataIntf() : ISLData]]  | ||
| + | *[[Method procedure SLSimpleDataBuffer.TSLData.AddCustom(ISLData)|procedure AddCustom(AData : ISLData)]]  | ||
| + | *[[Method function SLSimpleDataBuffer.TSLData.GetCustomCount() : Integer|function GetCustomCount() : Integer]]  | ||
| + | *[[Method function SLSimpleDataBuffer.TSLData.GetCustom(Integer) : ISLData|function GetCustom(AIndex : Integer) : ISLData]]  | ||
[[Category:Classes]]  | [[Category:Classes]]  | ||
Latest revision as of 17:19, 18 October 2012
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