*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
*/
#ifndef __GST_AUDIO_TEST_SRC_H__
#include <gst/gst.h>
#include <gst/base/gstbasesrc.h>
+#include <gst/audio/audio.h>
+
G_BEGIN_DECLS
gdouble state; /* noise state */
} GstRedNoise;
-typedef enum {
- GST_AUDIO_TEST_SRC_FORMAT_NONE = -1,
- GST_AUDIO_TEST_SRC_FORMAT_S16 = 0,
- GST_AUDIO_TEST_SRC_FORMAT_S32,
- GST_AUDIO_TEST_SRC_FORMAT_F32,
- GST_AUDIO_TEST_SRC_FORMAT_F64
-} GstAudioTestSrcFormat;
-
typedef struct _GstAudioTestSrc GstAudioTestSrc;
typedef struct _GstAudioTestSrcClass GstAudioTestSrcClass;
gdouble freq;
/* audio parameters */
- gint channels;
- gint samplerate;
+ GstAudioInfo info;
gint samples_per_buffer;
- gint sample_size;
- GstAudioTestSrcFormat format;
/*< private >*/
gboolean tags_pushed; /* send tags just once ? */