• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Emagic VST2AU SDK and multi-output MusicDevice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Emagic VST2AU SDK and multi-output MusicDevice


  • Subject: Emagic VST2AU SDK and multi-output MusicDevice
  • From: Malcolm Haylock <email@hidden>
  • Date: Wed, 30 Apr 2003 09:07:10 +0100

Hi everyone,

I've sent the following message to Emagic developer support several times since last November but have never received a reply. Has anyone found the same problem and a workaround? Everything works fine with 2 outputs only.

I'm having a problem porting a multi-out VST plugin to AU using Emagic's VST2AU SDK (LPAUSDK5).

You can duplicate the problem using the XSynth demo plugin provided in the SDK. This will cause a segmentation fault as it seems Logic has only allocated space for stereo outputs.

1) Set kNumOutputs = 8 in vstxsynth.h

2) Set the 'processReplacing' routine to:

//-----------------------------------------------------------------------------------------
void VstXSynth::processReplacing (float **inputs, float **outputs, long sampleFrames)
{
float* out1 = outputs[0];
float* out2 = outputs[1];
float* out3 = outputs[2];
float* out4 = outputs[3];
float* out5 = outputs[4];
float* out6 = outputs[5];
float* out7 = outputs[6];
float* out8 = outputs[7];
while (--sampleFrames >= 0)
{
*out1++ = 0;
*out2++ = 0;
*out3++ = 0;
*out4++ = 0;
*out5++ = 0;
*out6++ = 0;
*out7++ = 0;
*out8++ = 0;
}
}

Thanks,
Malcolm Haylock
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Emagic VST2AU SDK and multi-output MusicDevice
      • From: Art Gillespie <email@hidden>
  • Prev by Date: Re: troubles with midisport : solved
  • Next by Date: MIDI Clients and Ports names
  • Previous by thread: Newbie Q: reference code for midi input conversion (sysex->cc)?
  • Next by thread: Re: Emagic VST2AU SDK and multi-output MusicDevice
  • Index(es):
    • Date
    • Thread