X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fgestalt.c;h=195733bd9c73d150168d7964b51cd2f8bc306215;hb=68a6bb0f8c5be236fe81af76961c85ac5cd63e22;hp=2b6c29c08a32ac8c3514757e3e516be94e638b5f;hpb=f7db20369cdd1b699742a2037ca3ab99afe47ab2;p=projects%2Fchimara%2Fchimara.git diff --git a/libchimara/gestalt.c b/libchimara/gestalt.c index 2b6c29c..195733b 100644 --- a/libchimara/gestalt.c +++ b/libchimara/gestalt.c @@ -6,7 +6,7 @@ /* Version of the Glk specification implemented by this library */ #define MAJOR_VERSION 0 #define MINOR_VERSION 7 -#define SUB_VERSION 2 +#define SUB_VERSION 4 /** * glk_gestalt: @@ -123,23 +123,23 @@ glk_gestalt_ext(glui32 sel, glui32 val, glui32 *arr, glui32 arrlen) case gestalt_UnicodeNorm: case gestalt_LineInputEcho: case gestalt_LineTerminators: + case gestalt_ResourceStream: return 1; - /* Capabilities supported if compiled with GStreamer */ + /* Capabilities supported if compiled with sound support */ case gestalt_Sound: case gestalt_SoundVolume: case gestalt_SoundNotify: case gestalt_SoundMusic: -#ifdef GSTREAMER_SOUND + case gestalt_Sound2: +#ifdef HAVE_SOUND return 1; #else return 0; #endif /* Unsupported capabilities */ - /* We do not support the entire new sound suite yet */ - case gestalt_Sound2: - return 0; + /* None! */ /* Selector not supported */ default: