some macsound instrument play refinements

Also some better core placement of some of the Hero_playnotes calls.
This commit is contained in:
nhmall
2023-01-24 13:02:29 -05:00
parent 09fa9a865d
commit 5171fcdc1d
7 changed files with 81 additions and 70 deletions

View File

@@ -1556,9 +1556,6 @@ release_sound_mappings(void)
struct sound_procs soundprocs;
#ifdef SND_LIB_QTSOUND
extern struct sound_procs qtsound_procs;
#endif
#ifdef SND_LIB_PORTAUDIO
extern struct sound_procs portaudio_procs;
#endif
@@ -1586,6 +1583,9 @@ extern struct sound_procs windsound_procs;
#ifdef SND_LIB_MACSOUND
extern struct sound_procs macsound_procs;
#endif
#ifdef SND_LIB_QTSOUND
extern struct sound_procs qtsound_procs;
#endif
struct sound_procs nosound_procs = {
SOUNDID(nosound),
@@ -1605,9 +1605,6 @@ static struct sound_choices {
struct sound_procs *sndprocs;
} soundlib_choices[] = {
{ &nosound_procs }, /* default, built-in */
#ifdef SND_LIB_QTSOUND
{ &qtsound_procs },
#endif
#ifdef SND_LIB_PORTAUDIO
{ &portaudio_procs },
#endif
@@ -1635,6 +1632,9 @@ static struct sound_choices {
#ifdef SND_LIB_MACSOUND
{ &macsound_procs },
#endif
#ifdef SND_LIB_QTSOUND
{ &qtsound_procs },
#endif
};
void