Struct audioEngineDataStruct

Struct Documentation

struct audioEngineDataStruct

the core Data

Public Functions

inline std::optional<float*> getNowfPointer(const unsigned long frameCount)

Get Current playback point.

Parameters:

frameCount – Amount of frames to be returned

Returns:

std::optional<float*> the pointer, return nullopt if exceed range

inline void CountUp(const unsigned long frameCount)

count up function.

Parameters:

frameCount – Amount of frames

void GetAfterManFX(float *pOutput, unsigned long frameCount)

Return FX processed PCM frames.

Parameters:
  • pOutput – the pcm output. this should be memory allocated.(size: frameCount * CHANNEL * sizeof(float))

  • frameCount – Amount of frames

void Get(float *pOutput, unsigned long frameCount)

Return PCM frames.

Parameters:
  • pOutput – the pcm output. this should be memory allocated.(size: frameCount * CHANNEL * sizeof(float))

  • frameCount – Amount of frames

Public Members

float *faustPcmPP[2]
std::optional<FXControlPannel> FXManualPannel
std::optional<MusicControlPannel> MusCtrPannel
std::vector<float> *pcmDataPoint
unsigned long long nowCursor = 0
unsigned long long maxCursor = 0
unsigned long long consumedFrames = 0