mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-21 05:43:42 -07:00
Fixed resample and corrupt audio bug. Minor documentation updates.
This commit is contained in:
parent
28073fbb19
commit
2b40e66fa4
4 changed files with 16 additions and 5 deletions
|
@ -18,7 +18,9 @@
|
|||
|
||||
#define AIBUF_LEN 0x580
|
||||
|
||||
#define CALC_RESAMPLE_FREQ(sampleRate) (sampleRate / (s32)gAudioContext.audioBufferParameters.frequency)
|
||||
#define CALC_RESAMPLE_FREQ(sampleRate) ((float)sampleRate / (s32)gAudioContext.audioBufferParameters.frequency)
|
||||
|
||||
extern bool gUseLegacySD;
|
||||
|
||||
typedef enum {
|
||||
/* 0 */ ADSR_STATE_DISABLED,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue