#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 */
case gestalt_GraphicsTransparency:
return 1;
+ /* Capabilities supported if compiled with GStreamer */
case gestalt_Sound:
+ case gestalt_SoundVolume:
+ case gestalt_SoundNotify:
+#ifdef GSTREAMER_SOUND
return 1;
+#else
+ return 0;
+#endif
/* Unsupported capabilities */
- case gestalt_SoundVolume:
- case gestalt_SoundNotify:
case gestalt_SoundMusic:
/* Selector not supported */
default: