Support for GStreamer 1.0
[projects/chimara/chimara.git] / libchimara / gestalt.c
index 55ff57c797bd210340c8189db253213a0d7f2288..195733bd9c73d150168d7964b51cd2f8bc306215 100644 (file)
@@ -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:
                case gestalt_Sound2:
-#ifdef GSTREAMER_SOUND
+#ifdef HAVE_SOUND
                        return 1;
 #else
                        return 0;
 #endif
                        
                /* Unsupported capabilities */
-               case gestalt_ResourceStream:
-                       return 0;
+                       /* None! */
 
                /* Selector not supported */    
                default: