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

MExternalAudioInputPort Class Reference

An external audio input port. More...

#include <MExternalAudioInputPort.h>

Inheritance diagram for MExternalAudioInputPort:

MClientAudioInputPort MAudioInputPort MClientPort MPort List of all members.

Public Slots

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

Public Member Functions

virtual float * Buffer ()
virtual string FullName () const
virtual jack_port_t * JACKHandle () const

Protected Member Functions

 MExternalAudioInputPort (const string &fullName, MSupervisor *supervisor)

Protected Attributes

string _fullName

Friends

void MSupervisor::addExternalAudioInput (const string &fullName)

Detailed Description

This is the kind of ports provided by the MSupervisor singleton though it is not actually owing those ports since they represent external JACK ports, like physical ports or ports from other applications.


Constructor & Destructor Documentation

MExternalAudioInputPort::MExternalAudioInputPort const string &  fullName,
MSupervisor supervisor
[protected]
 

This should be use only by the MSupervisor singleton to provide access to the external ports provided by JACK.


Member Function Documentation

virtual float* MExternalAudioInputPort::Buffer  )  [inline, virtual]
 

The buffer associated with the port.

In JACK, providing this buffer doesn't make sense since you can't do anything useful with it. You have to go through a connection with a client.

Reimplemented from MClientAudioInputPort.

string MExternalAudioInputPort::FullName  )  const [virtual]
 

The full name of the port.

The full name of the port is given according to the format : module_name::port_name.

Reimplemented from MPort.

jack_port_t * MExternalAudioInputPort::JACKHandle  )  const [virtual]
 

The internal JACK handle of the port.

Reimplemented from MClientPort.

bool MExternalAudioInputPort::Connect MAudioOutputPort port  )  [virtual, slot]
 

See also:
MAudioInputPort::Connect( MAudioOutputPort * port )
This is the actual connection process of the port.

A MPhysicalAudioInput port can be connected to :

Reimplemented from MClientAudioInputPort.

bool MExternalAudioInputPort::Disconnect MAudioOutputPort port  )  [virtual, slot]
 

See also:
MAudioInputPort::Disconnect( MAudioOutputPort * port )

Reimplemented from MClientAudioInputPort.


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