projects
/
projects
/
chimara
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stop playing old sound when playing new sound
[projects/chimara/chimara.git]
/
libchimara
/
gestalt.c
diff --git
a/libchimara/gestalt.c
b/libchimara/gestalt.c
index bcd2113c6608381e1fedd5a3d9513f75f323de65..06154591117d7d8d6ede5204e1141761e6ffd3c7 100644
(file)
--- a/
libchimara/gestalt.c
+++ b/
libchimara/gestalt.c
@@
-1,4
+1,5
@@
#include <stddef.h> /* Surprisingly, the only symbol needed is NULL */
#include <stddef.h> /* Surprisingly, the only symbol needed is NULL */
+#include <config.h>
#include "glk.h"
/* Version of the Glk specification implemented by this library */
#include "glk.h"
/* Version of the Glk specification implemented by this library */
@@
-126,10
+127,14
@@
glk_gestalt_ext(glui32 sel, glui32 val, glui32 *arr, glui32 arrlen)
return 1;
case gestalt_Sound:
return 1;
case gestalt_Sound:
+ case gestalt_SoundVolume:
+#ifdef GSTREAMER_SOUND
return 1;
return 1;
+#else
+ return 0;
+#endif
/* Unsupported capabilities */
/* Unsupported capabilities */
- case gestalt_SoundVolume:
case gestalt_SoundNotify:
case gestalt_SoundMusic:
/* Selector not supported */
case gestalt_SoundNotify:
case gestalt_SoundMusic:
/* Selector not supported */