Merge branch 'sound'
[projects/chimara/chimara.git] / libchimara / gestalt.c
index 749bc43271aa2349d6b083be09ef9224eb9c8fc4..ebeb765f20a9f59d00697fa5758d345f1f6f33c1 100644 (file)
@@ -126,7 +126,10 @@ glk_gestalt_ext(glui32 sel, glui32 val, glui32 *arr, glui32 arrlen)
                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
@@ -134,8 +137,6 @@ glk_gestalt_ext(glui32 sel, glui32 val, glui32 *arr, glui32 arrlen)
 #endif
                        
                /* Unsupported capabilities */
-               case gestalt_SoundVolume:
-               case gestalt_SoundNotify:
                case gestalt_SoundMusic:
                /* Selector not supported */    
                default: