#include <iso_synth_jack_output_unit.h>
Inherits iso::synth::OutputUnit.
Inheritance diagram for iso::synth::JackOutputUnit:


Public Member Functions | |
| JackOutputUnit (unsigned int pChannelCount, const String &pJackTargetPortName="") throw (SynthException) | |
| parameter based contructor | |
| JackOutputUnit (const base::String &pName, unsigned int pChannelCount, const String &pJackTargetPortName="") throw (SynthException) | |
| parameter based contructor | |
| JackOutputUnit (const data::Values &pValues) throw (SynthException) | |
| values based constructor | |
| ~JackOutputUnit () | |
| destructor | |
| const String & | jackPortName () const |
| return target jack port name | |
| virtual void | process (Buffer *pBuffer=NULL) throw (SynthException) |
| starts processing chain | |
| virtual String | info (bool pPropagate=false, bool pShowPorts=true) const |
| obtain textual unit information | |
Static Public Attributes | |
| static const String | sClassName |
| default name | |
Protected Member Functions | |
| JackOutputUnit () | |
| default constructor | |
| void | addJackPort (JackPort *pJackPort) |
| add Jack Port | |
| void | MapBufferToJackPorts () throw (SynthException) |
| copy the content of the audio buffer to the buffers associated with the jack ports | |
Protected Attributes | |
| JackPorts | mJackPorts |
| Jack Ports. | |
| String | mJackTargetPortName |
| name of target port this unit should automatically connect to | |
Static Protected Attributes | |
| static unsigned int | sUnitCount |
| total number of Jack Input Units | |
Friends | |
| class | JackClient |
| std::ostream & | operator<< (std::ostream &pOstream, const JackOutputUnit &pUnit) |
| print unit information | |
writes audio data to jack output ports
This unit retrieves audio data from it's input port and writes each audio channel to a jack output port.
The total number of jack output ports this units writes to is equivelent to the number of audio channels of the unit.
Instances of this unit are created by calling the jack managers createOutputUnit function
Created by Daniel Bisig on 6/26/06. Copyright 2006 Daniel Bisig All rights reserved.
| JackOutputUnit::JackOutputUnit | ( | unsigned int | pChannelCount, | |
| const String & | pJackTargetPortName = "" | |||
| ) | throw (SynthException) |
parameter based contructor
| pChannelCount | number of channels | |
| pJackTargetPortName | name of target port this unit should automatically connect to |
| JackOutputUnit::JackOutputUnit | ( | const base::String & | pName, | |
| unsigned int | pChannelCount, | |||
| const String & | pJackTargetPortName = "" | |||
| ) | throw (SynthException) |
parameter based contructor
| pName | unit name | |
| pChannelCount | number of channels | |
| pJackTargetPortName | name of target port this unit should automatically connect to |
| JackOutputUnit::JackOutputUnit | ( | const data::Values & | pValues | ) | throw (SynthException) |
values based constructor
| pValues | unit values |
| SynthException | failed to create unit |
| JackOutputUnit::~JackOutputUnit | ( | ) |
destructor
| JackOutputUnit::JackOutputUnit | ( | ) | [protected] |
default constructor
| const String & JackOutputUnit::jackPortName | ( | ) | const |
return target jack port name
| void JackOutputUnit::process | ( | Buffer * | pBuffer = NULL |
) | throw (SynthException) [virtual] |
| String JackOutputUnit::info | ( | bool | pPropagate = false, |
|
| bool | pShowPorts = true | |||
| ) | const [virtual] |
obtain textual unit information
| pPropagate | if true, the unit calls the info methods of its input ports | |
| pShowPorts | print port information |
Reimplemented from iso::synth::OutputUnit.
| void JackOutputUnit::addJackPort | ( | JackPort * | pJackPort | ) | [protected] |
| void JackOutputUnit::MapBufferToJackPorts | ( | ) | throw (SynthException) [protected] |
copy the content of the audio buffer to the buffers associated with the jack ports
friend class JackClient [friend] |
| std::ostream& operator<< | ( | std::ostream & | pOstream, | |
| const JackOutputUnit & | pUnit | |||
| ) | [friend] |
print unit information
const String JackOutputUnit::sClassName [static] |
unsigned int JackOutputUnit::sUnitCount [static, protected] |
JackPorts iso::synth::JackOutputUnit::mJackPorts [protected] |
Jack Ports.
name of target port this unit should automatically connect to
1.5.1