Method procedure ALBasicGenericFilter.TALSimpleGenericFilter.SendData(IALAudioBuffer)

From Mitov Wiki Doc
Revision as of 00:05, 11 June 2013 by David Alm (Talk | contribs)
Jump to: navigation, search

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.

Class: TALSimpleGenericFilter

Contents

Syntax

Delphi:

procedure SendData( OutBuffer : IALAudioBuffer );

C++ Builder:

void __fastcall SendData( IALAudioBuffer OutBuffer );

Visual C++ (MFC):

void SendData( IALAudioBuffer OutBuffer );

Summary

Sends audio buffer trough the output pin.

Description

By calling this method you can send data via the OutputPin of the filter.

Use this method together with SendStartCommand and SendStopCommand to do manual data pumping.


Delphi example:

var
  AudioDataBuffer : IALAudioBuffer;

AudioDataBuffer := TALAudioBuffer.CreateSize( 16, 2, SizeOfMyDtataBuffer )
AudioDataBuffer.Zero();

ALGenericFilter1.SendData( AudioDataBuffer );

C++ Builder example:

TALCAudioBuffer AudioDataBuffer( SizeOfMyDtataBuffer );
AudioDataBuffer->Zero();

ALGenericFilter1->SendData( AudioDataBuffer );

Visual C++(MFC) example:

TALCAudioBuffer AudioDataBuffer( SizeOfMyDtataBuffer );
AudioDataBuffer.Zero();

ALGenericFilter1.SendData( AudioDataBuffer );

Visual C++/CLI example:

Mitov.AudioLab.AudioBuffer AudioDataBuffer = gcnew Mitov.AudioLab.AudioBuffer(SizeOfMyDtataBuffer);
AudioDataBuffer->Zero();

genericFilter1->SendData(AudioDataBuffer);

C# example:

Mitov.AudioLab.AudioBuffer AudioDataBuffer = new Mitov.AudioLab.AudioBuffer(SizeOfMyDtataBuffer);
AudioDataBuffer.Zero();

genericFilter1.SendData(AudioDataBuffer);

VB example:

Dim AudioDataBuffer as Mitov.AudioLab.AudioBuffer = new Mitov.AudioLab.AudioBuffer(SizeOfMyDtataBuffer)
AudioDataBuffer.Zero

GenericFilter1.SendData(AudioDataBuffer)

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox