remove "done" folders, label "bs/droneenter, bs/dronelook, and bs/dronevanish files and functions"
This commit is contained in:
16
src/core1/audio/heapinit.c
Normal file
16
src/core1/audio/heapinit.c
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "synthInternals.h"
|
||||
#include <libaudio.h>
|
||||
|
||||
void alHeapInit(ALHeap *hp, u8 *base, s32 len)
|
||||
{
|
||||
s32 extraAlign = (AL_CACHE_ALIGN+1) - ((s32) base & AL_CACHE_ALIGN);
|
||||
|
||||
if (extraAlign != AL_CACHE_ALIGN+1)
|
||||
hp->base = base + extraAlign;
|
||||
else
|
||||
hp->base = base;
|
||||
|
||||
hp->len = len;
|
||||
hp->cur = hp->base;
|
||||
hp->count = 0;
|
||||
}
|
Reference in New Issue
Block a user