Index: gst/wavparse/gstwavparse.c
===================================================================
RCS file: /home/cvs/gstreamer/gst-plugins/gst/wavparse/gstwavparse.c,v
retrieving revision 1.59
diff -u -r1.59 gstwavparse.c
--- a/gst/wavparse/gstwavparse.c	30 Mar 2004 15:06:20 -0000	1.59
+++ b/gst/wavparse/gstwavparse.c	15 Apr 2004 03:40:39 -0000
@@ -80,7 +80,12 @@
         "rate = (int) [ 8000, 48000 ], "
         "channels = (int) [ 1, 2 ]; "
         "audio/x-mulaw, "
-        "rate = (int) [ 8000, 48000 ], " "channels = (int) [ 1, 2 ]")
+        "rate = (int) [ 8000, 48000 ], " "channels = (int) [ 1, 2 ];"
+        "audio/x-adpcm, "
+        "layout = (string) microsoft, "
+        "block_align = (int) [ 1, 8192 ], "
+        "rate = (int) [ 8000, 48000 ], "
+        "channels = (int) [ 1, 2 ]")
     );
 
 /* WavParse signals and args */
@@ -621,6 +626,14 @@
             "channels", G_TYPE_INT, wavparse->channels, NULL);
         break;
 
+      case GST_RIFF_WAVE_FORMAT_ADPCM:
+        caps = gst_caps_new_simple ("audio/x-adpcm",
+	    "layout", G_TYPE_STRING, "microsoft",
+	    "block_align", G_TYPE_INT, wavparse->bps,
+	    "rate", G_TYPE_INT, wavparse->rate,
+	    "channels", G_TYPE_INT, wavparse->channels, NULL);
+        break;
+
       case GST_RIFF_WAVE_FORMAT_MPEGL12:
       case GST_RIFF_WAVE_FORMAT_MPEGL3:{
         int layer = (wavparse->format == GST_RIFF_WAVE_FORMAT_MPEGL12) ? 2 : 3;
@@ -716,7 +729,7 @@
        Does anyone care about streaming wavs?
        FIXME: Should we have a decent buffer size? */
 
-#define MAX_BUFFER_SIZE 1024
+#define MAX_BUFFER_SIZE 4096
 
     if (wavparse->dataleft > 0) {
       desired = MIN (wavparse->dataleft, MAX_BUFFER_SIZE);
