Struct SFXBuffer
Public Attributes
| Type | Name |
|---|---|
| ALuint | hALBuffer OpenAL buffer handle. |
| ALuint | hALSource OpenAL source handle. |
| HSFXBuffer | hNext next in the list, when the buffer has finished playing and can be reused |
| HSFXBuffer | hPrev prev in the list, when the buffer has finished playing and can be reused |
| HSFXBuffer | hThis |
| float | lengthSamples Length in samples. |
| float | timeLeft the time left to play for the sound effect |
Public Attributes Documentation
variable hALBuffer
OpenAL buffer handle.
ALuint SFXBuffer::hALBuffer;
variable hALSource
OpenAL source handle.
ALuint SFXBuffer::hALSource;
variable hNext
next in the list, when the buffer has finished playing and can be reused
HSFXBuffer SFXBuffer::hNext;
variable hPrev
prev in the list, when the buffer has finished playing and can be reused
HSFXBuffer SFXBuffer::hPrev;
variable hThis
HSFXBuffer SFXBuffer::hThis;
variable lengthSamples
Length in samples.
float SFXBuffer::lengthSamples;
variable timeLeft
the time left to play for the sound effect
float SFXBuffer::timeLeft;
The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/src/core/Audio.c