Fixed some compile-breaking mistakes in sound/openal.c.

This commit is contained in:
OBattler
2024-03-01 07:13:29 +01:00
parent 3b731b37d1
commit c7028f1e35

View File

@@ -114,12 +114,14 @@ closeal(void)
void void
inital(void) inital(void)
{ {
float *buf = NULL; float *buf = NULL;
float *cd_buf = NULL; float *music_buf = NULL;
float *midi_buf = NULL; float *cd_buf = NULL;
int16_t *buf_int16 = NULL; float *midi_buf = NULL;
int16_t *cd_buf_int16 = NULL; int16_t *buf_int16 = NULL;
int16_t *midi_buf_int16 = NULL; int16_t *music_buf_int16 = NULL;
int16_t *cd_buf_int16 = NULL;
int16_t *midi_buf_int16 = NULL;
const char *mdn; const char *mdn;
int init_midi = 0; int init_midi = 0;
@@ -276,7 +278,7 @@ givealbuffer(void *buf)
void void
givealbuffer_music(void *buf) givealbuffer_music(void *buf)
{ {
givealbuffer_common(buf, 1, MUSIC_BUFLEN << 1, MUSIC_FREQ); givealbuffer_common(buf, 1, MUSICBUFLEN << 1, MUSIC_FREQ);
} }
void void