Add new resource stream unit test
[projects/chimara/chimara.git] / libchimara / gestalt.c
index 6dbffa1ade892881ac4e7dc3afc46fe83a41b4da..55ff57c797bd210340c8189db253213a0d7f2288 100644 (file)
@@ -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:
@@ -130,6 +130,7 @@ glk_gestalt_ext(glui32 sel, glui32 val, glui32 *arr, glui32 arrlen)
                case gestalt_SoundVolume:
                case gestalt_SoundNotify:
                case gestalt_SoundMusic:
+               case gestalt_Sound2:
 #ifdef GSTREAMER_SOUND
                        return 1;
 #else
@@ -137,7 +138,8 @@ glk_gestalt_ext(glui32 sel, glui32 val, glui32 *arr, glui32 arrlen)
 #endif
                        
                /* Unsupported capabilities */
-               /* none! */
+               case gestalt_ResourceStream:
+                       return 0;
 
                /* Selector not supported */    
                default: