2
0
Fork 0

Stereo support

This commit is contained in:
George Reales 2020-05-13 07:36:53 +02:00
parent ed4e8522d4
commit 375aa34183
2 changed files with 8 additions and 8 deletions

View file

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<JUCERPROJECT id="wUKQiT" name="OPL" projectType="audioplug" version="1.0.0"
<JUCERPROJECT id="wUKQiT" name="OPL" projectType="audioplug" version="1.0.1"
bundleIdentifier="com.discodsp.OPL" pluginName="OPL" pluginDesc="OPL"
pluginManufacturer="discoDSP" pluginManufacturerCode="DDSP" pluginCode="OPL"
pluginChannelConfigs="{0, 1}" pluginIsSynth="1" pluginWantsMidiIn="1"
pluginProducesMidiOut="0" pluginSilenceInIsSilenceOut="0" pluginEditorRequiresKeys="0"
pluginManufacturer="discoDSP" pluginManufacturerCode="DDSP" pluginCode="OPL1"
pluginIsSynth="1" pluginWantsMidiIn="1" pluginProducesMidiOut="0"
pluginSilenceInIsSilenceOut="0" pluginEditorRequiresKeys="0"
pluginAUExportPrefix="oplAU" aaxIdentifier="com.discodsp.opl"
pluginAAXCategory="2" jucerVersion="5.4.7" includeBinaryInAppConfig="1"
pluginIsMidiEffectPlugin="0" companyWebsite="https://www.discodsp.com/"
@ -15,7 +15,7 @@
companyEmail="contactus@discodsp.com" pluginRTASDisableBypass="0"
pluginRTASDisableMultiMono="0" pluginAAXDisableBypass="0" pluginAAXDisableMultiMono="0"
pluginAUMainType="'aumu'" pluginVST3Category="Instrument,Synth"
pluginVSTCategory="kPlugCategSynth">
pluginVSTCategory="kPlugCategSynth" pluginChannelConfigs="{0, 2}">
<MAINGROUP id="TOefyq" name="OPL">
<GROUP id="{DCA755EB-7953-0641-E719-95C7850E5B2B}" name="Source">
<FILE id="aNR5I9" name="icon.png" compile="0" resource="0" file="Media/icon.png"/>

View file

@ -818,9 +818,9 @@ void AdlibBlasterAudioProcessor::processBlock (AudioSampleBuffer& buffer, MidiBu
Opl->Generate(buffer.getNumSamples(), buffer.getWritePointer(0));
/// Jeff-Russ added loop to copy left channel to right channel. uncomment when building to {0,2} AU
// const float* LChanRead = buffer.getReadPointer(0, 0);
// float* RChanWrite = buffer.getWritePointer(1, 0);
// for (int i = 0; i < buffer.getNumSamples(); i++) { RChanWrite[i] = LChanRead[i]; }
const float* LChanRead = buffer.getReadPointer(0, 0);
float* RChanWrite = buffer.getWritePointer(1, 0);
for (int i = 0; i < buffer.getNumSamples(); i++) { RChanWrite[i] = LChanRead[i]; }
}
//==============================================================================