diff options
author | Chris Robinson <[email protected]> | 2013-11-27 18:52:56 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-11-27 18:52:56 -0800 |
commit | 182b08d8bcdcadf408f03c108ed03296a34f717f (patch) | |
tree | 487236aeb4601f39d9cc33efc0f9ee1280a94bcd /Alc/ALu.c | |
parent | 5554b8cfc93db026812dafa695d5f7a3450a40a7 (diff) |
Create and use a MidiSynth on playback devices
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -31,6 +31,7 @@ #include "alBuffer.h" #include "alListener.h" #include "alAuxEffectSlot.h" +#include "alMidi.h" #include "alu.h" #include "bs2b.h" @@ -1028,6 +1029,8 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size) memset(device->DryBuffer[c], 0, SamplesToDo*sizeof(ALfloat)); ALCdevice_Lock(device); + V(device->Synth,process)(SamplesToDo, device->DryBuffer); + ctx = device->ContextList; while(ctx) { |