Logo Search packages:      
Sourcecode: jackd2 version File versions  Download package

Public Member Functions | Protected Member Functions | Protected Attributes | Static Private Member Functions | Private Attributes

Jack::JackCoreMidiDriver Class Reference

The CoreMidi driver. More...

#include <JackCoreMidiDriver.h>

Inheritance diagram for Jack::JackCoreMidiDriver:
Inheritance graph
[legend]
Collaboration diagram for Jack::JackCoreMidiDriver:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void AddSlave (JackDriverInterface *slave)
int Attach ()
virtual int ClientNotify (int refnum, const char *name, int notify, int sync, const char *message, int value1, int value2)
int Close ()
virtual int Detach ()
virtual JackClientControlGetClientControl () const
bool GetMaster ()
std::list< JackDriverInterface * > GetSlaves ()
virtual bool Initialize ()
virtual bool IsFixedBufferSize ()
virtual bool IsRealTime () const
 JackCoreMidiDriver (const char *name, const char *alias, JackLockedEngine *engine, JackSynchro *table)
int Open (bool capturing, bool playing, int chan_in, int chan_out, bool monitor, const char *capture_driver_name, const char *playback_driver_name, jack_nframes_t capture_latency, jack_nframes_t playback_latency)
virtual int Open ()
virtual int Open (jack_nframes_t buffer_size, jack_nframes_t samplerate, bool capturing, bool playing, int inchannels, int outchannels, bool monitor, const char *capture_driver_name, const char *playback_driver_name, jack_nframes_t capture_latency, jack_nframes_t playback_latency)
virtual int Process ()
virtual int ProcessNull ()
int ProcessSlaves ()
int Read ()
void RemoveSlave (JackDriverInterface *slave)
virtual int SetBufferSize (jack_nframes_t buffer_size)
void SetMaster (bool onoff)
virtual int SetSampleRate (jack_nframes_t sample_rate)
virtual int Start ()
virtual int Stop ()
int Write ()

Protected Member Functions

void CycleIncTime ()
void CycleTakeBeginTime ()
void CycleTakeEndTime ()
JackMidiBufferGetInputBuffer (int port_index)
JackMidiBufferGetOutputBuffer (int port_index)
void NotifyBufferSize (jack_nframes_t buffer_size)
void NotifyFailure (int code, const char *reason)
void NotifySampleRate (jack_nframes_t sample_rate)
void NotifyXRun (jack_time_t callback_usecs, float delayed_usecs)
void SetupDriverSync (int ref, bool freewheel)

Protected Attributes

char fAliasName [JACK_CLIENT_NAME_SIZE+1]
jack_time_t fBeginDateUst
int fCaptureChannels
char fCaptureDriverName [JACK_CLIENT_NAME_SIZE+1]
jack_nframes_t fCaptureLatency
jack_port_id_t fCapturePortList [DRIVER_PORT_NUM]
JackClientControl fClientControl
float fDelayedUsecs
jack_time_t fEndDateUst
JackLockedEnginefEngine
JackEngineControlfEngineControl
JackGraphManagerfGraphManager
bool fIsMaster
int fPlaybackChannels
char fPlaybackDriverName [JACK_CLIENT_NAME_SIZE+1]
jack_nframes_t fPlaybackLatency
jack_port_id_t fPlaybackPortList [DRIVER_PORT_NUM]
jack_ringbuffer_tfRingBuffer [DRIVER_PORT_NUM]
std::list< JackDriverInterface * > fSlaveList
JackSynchrofSynchroTable

Static Private Member Functions

static void NotifyProc (const MIDINotification *message, void *refCon)
static void ReadProc (const MIDIPacketList *pktlist, void *refCon, void *connRefCon)
static void ReadProcAux (const MIDIPacketList *pktlist, jack_ringbuffer_t *ringbuffer)
static void ReadVirtualProc (const MIDIPacketList *pktlist, void *refCon, void *connRefCon)

Private Attributes

MIDIPortRef fInputPort
char fMIDIBuffer [BUFFER_SIZE_MAX *sizeof(float)]
MIDIClientRef fMidiClient
MIDIEndpointRef * fMidiDestination
MIDIEndpointRef * fMidiSource
MIDIPortRef fOutputPort
int fRealCaptureChannels
int fRealPlaybackChannels

Detailed Description

The CoreMidi driver.

Definition at line 34 of file JackCoreMidiDriver.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index