add/remove some comments

This commit is contained in:
laochailan 2018-06-12 21:10:46 +02:00
parent 7701014751
commit f05e094c17
No known key found for this signature in database
GPG key ID: 49BE98017AFBC943
2 changed files with 1 additions and 1 deletions

View file

@ -16,7 +16,6 @@
#define DEFAULT_SFX_VOLUME 100
#define LOOPFADEOUT 50
// XXX: THIS IS SPARTA. but this needs to be a property set in volumes.conf or wherever
typedef struct CurrentBGM {
char *name;

View file

@ -360,6 +360,7 @@ bool audio_backend_sound_loop(void *impl, AudioBackendSoundGroup group) {
return true;
}
// XXX: This custom fading effect circumvents https://bugzilla.libsdl.org/show_bug.cgi?id=2904
typedef struct CustomFadeout {
int duration; // in samples
int counter;