X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fgestalt.c;h=06154591117d7d8d6ede5204e1141761e6ffd3c7;hb=ae15de3b9d5bfa1246c4c11d0ff851ac9a7b5f7c;hp=e3529094233d4f88cf055abc7af0023b76562421;hpb=22a923ddf6635ad4c69d69a90ce31e8b544eac46;p=projects%2Fchimara%2Fchimara.git diff --git a/libchimara/gestalt.c b/libchimara/gestalt.c index e352909..0615459 100644 --- a/libchimara/gestalt.c +++ b/libchimara/gestalt.c @@ -1,4 +1,5 @@ #include /* Surprisingly, the only symbol needed is NULL */ +#include #include "glk.h" /* Version of the Glk specification implemented by this library */ @@ -124,10 +125,16 @@ glk_gestalt_ext(glui32 sel, glui32 val, glui32 *arr, glui32 arrlen) case gestalt_GraphicsTransparency: return 1; - - /* Unsupported capabilities */ + case gestalt_Sound: case gestalt_SoundVolume: +#ifdef GSTREAMER_SOUND + return 1; +#else + return 0; +#endif + + /* Unsupported capabilities */ case gestalt_SoundNotify: case gestalt_SoundMusic: /* Selector not supported */