summaryrefslogtreecommitdiffstats
path: root/ext/mas/massink.c
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-09-11 19:19:55 +0000
committerDavid Schleef <ds@schleef.org>2003-09-11 19:19:55 +0000
commit719093623c49a3ca5f57df4c9c3afb515e0bf5b9 (patch)
treed723576b8cf7308d0276a582c42e9106d4409f9a /ext/mas/massink.c
parent69a6bfdda085424632838fad455792672e15a8c5 (diff)
downloadgst-plugins-bad-719093623c49a3ca5f57df4c9c3afb515e0bf5b9.tar.gz
gst-plugins-bad-719093623c49a3ca5f57df4c9c3afb515e0bf5b9.tar.bz2
gst-plugins-bad-719093623c49a3ca5f57df4c9c3afb515e0bf5b9.zip
Fix caps definition. Fix copyright block.
Original commit message from CVS: Fix caps definition. Fix copyright block.
Diffstat (limited to 'ext/mas/massink.c')
-rw-r--r--ext/mas/massink.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/ext/mas/massink.c b/ext/mas/massink.c
index 281418d1..b4a8f6dc 100644
--- a/ext/mas/massink.c
+++ b/ext/mas/massink.c
@@ -1,7 +1,6 @@
/* GStreamer
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
*
- * Most of the code from maswavplay and esdsink
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
@@ -18,15 +17,21 @@
* Boston, MA 02111-1307, USA.
*/
+/*
+ * Portions derived from maswavplay.c (distributed under the X11
+ * license):
+ *
+ * Copyright (c) 2001-2003 Shiman Associates Inc. All Rights Reserved.
+ * Copyright (c) 2000, 2001 by Shiman Associates Inc. and Sun
+ * Microsystems, Inc. All Rights Reserved.
+ */
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "massink.h"
#define BUFFER_SIZE 640
-#define BUFFER_TIME_NS 3628118
-#define FORCED_STABLE_LOOPS 10
-#define NANOSLEEP_GRANULARITY 100000
/* elementfactory information */
@@ -61,7 +66,7 @@ GST_PAD_TEMPLATE_FACTORY (sink_factory,
GST_PAD_ALWAYS, /* ALWAYS/SOMETIMES */
GST_CAPS_NEW (
"massink_sink8", /* the name of the caps */
- "audio/x-wav", /* the mime type of the caps */
+ "audio/x-raw-int",
NULL
)
);