refactor(fmod): move all original files into fmod directory

This commit is contained in:
phaneron 2025-08-20 04:38:38 -04:00
parent 50fb3c6b1c
commit 35569faecc
544 changed files with 0 additions and 0 deletions

View file

@ -1,45 +0,0 @@
#ifndef _FMOD_SAMPLE_OPENAL_H
#define _FMOD_SAMPLE_OPENAL_H
#include "fmod_settings.h"
#ifdef FMOD_SUPPORT_OPENAL
#include "fmod_dsp_resampler.h"
#include "fmod_sound_sample.h"
namespace FMOD
{
class SampleOpenAL : public Sample
{
friend class OutputOpenAL;
friend class ChannelOpenAL;
friend class DSPWaveTable;
private:
void *mBuffer;
void *mBufferMemory;
char *mLoopPointDataEnd;
char mLoopPointDataEndMemory[8];
bool mDataEndCopied;
public:
SampleOpenAL();
FMOD_RESULT release(bool freethis = true);
FMOD_RESULT lockInternal(unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2);
FMOD_RESULT unlockInternal(void *ptr1, void *ptr2, unsigned int len1, unsigned int len2);
FMOD_RESULT setBufferData(void *data);
FMOD_RESULT setLoopPoints(unsigned int loopstart, unsigned int looplength);
FMOD_RESULT setLoopPointData();
FMOD_RESULT restoreLoopPointData();
FMOD_RESULT setMode(FMOD_MODE mode);
};
}
#endif /* FMOD_SUPPORT_OPENAL */
#endif