Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members

MPluginAudioOutputPort Class Reference

A plugin audio output port.

#include <MPluginAudioOutputPort.h>

Inheritance diagram for MPluginAudioOutputPort:

MAudioOutputPort MPluginPort MPort MPluginPortDescriptor List of all members.

Public Slots

virtual bool Connect (MAudioInputPort *port)
virtual bool Disconnect (MAudioInputPort *port)

Public Member Functions

virtual float * Buffer ()

Protected Member Functions

 MPluginAudioOutputPort (MPlugin *plugin, const unsigned long portNumber)

Friends

void MPlugin::createAudioOutput (const unsigned long portNumber)

Constructor & Destructor Documentation

MPluginAudioOutputPort::MPluginAudioOutputPort MPlugin plugin,
const unsigned long  portNumber
[protected]
 

Creates an plugin audio output port corresponding to the portNumberth port of the LADSPA plugin.


Member Function Documentation

float * MPluginAudioOutputPort::Buffer  )  [virtual]
 

The buffer to be associated with the port.

A local buffer is provided by default for the port.

Reimplemented from MPluginPort.

bool MPluginAudioOutputPort::Connect MAudioInputPort port  )  [virtual, slot]
 

Tries to connect port to this port.

Returns:
TRUE if the connection was successfully established else returns FALSE
Precondition:
! IsConnectedTo( port )

Implements MAudioOutputPort.

bool MPluginAudioOutputPort::Disconnect MAudioInputPort port  )  [virtual, slot]
 

Tries to disconnect port from this port.

Returns:
TRUE if the ports were actually disconnected else returns FALSE ( the ports were probably not connected ).
Postcondition:
! IsConnectedTo( port )

Implements MAudioOutputPort.


The documentation for this class was generated from the following files:
Generated on Mon Jan 31 12:43:31 2005 for la Marmite by Doxygen 1.4.1