Mercurial > hg > dmlib
diff minijss/jssmix.h @ 2586:9807ae37ad69
Require stdbool.h, we require C11 now.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 08 Dec 2022 15:59:22 +0200 |
parents | d6b9410f1b1b |
children |
line wrap: on
line diff
--- a/minijss/jssmix.h Thu Dec 08 15:56:36 2022 +0200 +++ b/minijss/jssmix.h Thu Dec 08 15:59:22 2022 +0200 @@ -46,9 +46,9 @@ void *chData; // Pointer to data - BOOL chPlaying, // TRUE = playing - chMute, // TRUE = muted - chDirection; // TRUE = playing forwards, FALSE = backwards + bool chPlaying, // true = playing + chMute, // true = muted + chDirection; // true = playing forwards, false = backwards int chFlags; // Flags @@ -154,8 +154,8 @@ void jvmSetPanRamp(JSSMixer * mixer, const int channel, const int start, const int end, const int len); int jvmGetPan(JSSMixer *mixer, const int channel); -void jvmMute(JSSMixer *mixer, const int channel, const BOOL mute); -BOOL jvmGetMute(JSSMixer *mixer, const int channel); +void jvmMute(JSSMixer *mixer, const int channel, const bool mute); +bool jvmGetMute(JSSMixer *mixer, const int channel); void jvmClear(JSSMixer *mixer, const int channel); void jvmClearChannels(JSSMixer *mixer);