Index: gst-dmai-plugins/src/src/gsttiauddec1.c =================================================================== --- gst-dmai-plugins.orig/src/src/gsttiauddec1.c 2009-11-26 10:17:03.138086740 -0600 +++ gst-dmai-plugins/src/src/gsttiauddec1.c 2009-11-26 10:18:07.917291595 -0600 @@ -54,6 +54,8 @@ /* Set up codec parameters depending on device MAYBE NEEDS TO BE IMPLEMENTED */ + params.dataEndianness = XDM_LE_16; + GST_DEBUG("opening audio decoder \"%s\"\n", dmaidec->codecName); dmaidec->hCodec = Adec1_create(dmaidec->hEngine, (Char*)dmaidec->codecName, Index: gst-dmai-plugins/src/src/gsttidmaidec.c =================================================================== --- gst-dmai-plugins.orig/src/src/gsttidmaidec.c 2009-11-26 10:17:25.197388709 -0600 +++ gst-dmai-plugins/src/src/gsttidmaidec.c 2009-11-26 10:20:00.549693648 -0600 @@ -1330,6 +1330,9 @@ GstBuffer *buf = NULL; GST_DEBUG("Draining the circular buffer"); + dmaidec->tail = dmaidec->head; + return buf; +/* if (dmaidec->tail != dmaidec->head){ buf = __gstti_dmaidec_circ_buffer_peek(dmaidec,dmaidec->head); } else if (dmaidec->circBuf){ @@ -1347,7 +1350,7 @@ GST_BUFFER_SIZE(buf) = 0; } - return buf; + return buf;*/ } /****************************************************************************** Index: gst-dmai-plugins/src/src/gsttisupport_aac.c =================================================================== --- gst-dmai-plugins.orig/src/src/gsttisupport_aac.c 2009-11-26 10:17:40.229371563 -0600 +++ gst-dmai-plugins/src/src/gsttisupport_aac.c 2009-11-26 10:19:35.309995517 -0600 @@ -118,10 +118,11 @@ } static gint aac_parse(GstTIDmaidec *dmaidec){ - struct gstti_aac_parser_private *priv = - (struct gstti_aac_parser_private *) dmaidec->parser_private; +// struct gstti_aac_parser_private *priv = +// (struct gstti_aac_parser_private *) dmaidec->parser_private; - if (priv->framed){ +// if (priv->framed){ + if(FALSE){ /* * When we have a codec_data structure we know we got full frames */ @@ -225,7 +226,7 @@ } struct gstti_parser_ops gstti_aac_parser = { - .numInputBufs = 1, + .numInputBufs = 3, .init = aac_init, .clean = aac_clean, .parse = aac_parse,