Stereo support
This commit is contained in:
parent
ed4e8522d4
commit
375aa34183
2 changed files with 8 additions and 8 deletions
10
OPL.jucer
10
OPL.jucer
|
@ -1,10 +1,10 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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"
|
bundleIdentifier="com.discodsp.OPL" pluginName="OPL" pluginDesc="OPL"
|
||||||
pluginManufacturer="discoDSP" pluginManufacturerCode="DDSP" pluginCode="OPL"
|
pluginManufacturer="discoDSP" pluginManufacturerCode="DDSP" pluginCode="OPL1"
|
||||||
pluginChannelConfigs="{0, 1}" pluginIsSynth="1" pluginWantsMidiIn="1"
|
pluginIsSynth="1" pluginWantsMidiIn="1" pluginProducesMidiOut="0"
|
||||||
pluginProducesMidiOut="0" pluginSilenceInIsSilenceOut="0" pluginEditorRequiresKeys="0"
|
pluginSilenceInIsSilenceOut="0" pluginEditorRequiresKeys="0"
|
||||||
pluginAUExportPrefix="oplAU" aaxIdentifier="com.discodsp.opl"
|
pluginAUExportPrefix="oplAU" aaxIdentifier="com.discodsp.opl"
|
||||||
pluginAAXCategory="2" jucerVersion="5.4.7" includeBinaryInAppConfig="1"
|
pluginAAXCategory="2" jucerVersion="5.4.7" includeBinaryInAppConfig="1"
|
||||||
pluginIsMidiEffectPlugin="0" companyWebsite="https://www.discodsp.com/"
|
pluginIsMidiEffectPlugin="0" companyWebsite="https://www.discodsp.com/"
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
companyEmail="contactus@discodsp.com" pluginRTASDisableBypass="0"
|
companyEmail="contactus@discodsp.com" pluginRTASDisableBypass="0"
|
||||||
pluginRTASDisableMultiMono="0" pluginAAXDisableBypass="0" pluginAAXDisableMultiMono="0"
|
pluginRTASDisableMultiMono="0" pluginAAXDisableBypass="0" pluginAAXDisableMultiMono="0"
|
||||||
pluginAUMainType="'aumu'" pluginVST3Category="Instrument,Synth"
|
pluginAUMainType="'aumu'" pluginVST3Category="Instrument,Synth"
|
||||||
pluginVSTCategory="kPlugCategSynth">
|
pluginVSTCategory="kPlugCategSynth" pluginChannelConfigs="{0, 2}">
|
||||||
<MAINGROUP id="TOefyq" name="OPL">
|
<MAINGROUP id="TOefyq" name="OPL">
|
||||||
<GROUP id="{DCA755EB-7953-0641-E719-95C7850E5B2B}" name="Source">
|
<GROUP id="{DCA755EB-7953-0641-E719-95C7850E5B2B}" name="Source">
|
||||||
<FILE id="aNR5I9" name="icon.png" compile="0" resource="0" file="Media/icon.png"/>
|
<FILE id="aNR5I9" name="icon.png" compile="0" resource="0" file="Media/icon.png"/>
|
||||||
|
|
|
@ -818,9 +818,9 @@ void AdlibBlasterAudioProcessor::processBlock (AudioSampleBuffer& buffer, MidiBu
|
||||||
Opl->Generate(buffer.getNumSamples(), buffer.getWritePointer(0));
|
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
|
/// 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);
|
const float* LChanRead = buffer.getReadPointer(0, 0);
|
||||||
// float* RChanWrite = buffer.getWritePointer(1, 0);
|
float* RChanWrite = buffer.getWritePointer(1, 0);
|
||||||
// for (int i = 0; i < buffer.getNumSamples(); i++) { RChanWrite[i] = LChanRead[i]; }
|
for (int i = 0; i < buffer.getNumSamples(); i++) { RChanWrite[i] = LChanRead[i]; }
|
||||||
}
|
}
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
Loading…
Reference in a new issue