diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-05-09 15:29:27 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-05-09 15:29:27 +0000 |
commit | 218ba9bee9f7a1cee34e1963f6d0b2d75499e58e (patch) | |
tree | 3a63894d7c0fd8f75e3ec5850918a193aa77c0b8 /src/polyputil.h | |
parent | 007f36899a324c678270a6e924393aa22495bc3f (diff) |
* use the same gst_polyp_fill_sample_spec() implementation by both the sink and the source
* pass a sensible client name to Polypaudio
git-svn-id: file:///home/lennart/svn/public/gst-pulse/trunk@18 bb39ca4e-bce3-0310-b5d4-eea78a553289
Diffstat (limited to 'src/polyputil.h')
-rw-r--r-- | src/polyputil.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/polyputil.h b/src/polyputil.h new file mode 100644 index 0000000..b800bb2 --- /dev/null +++ b/src/polyputil.h @@ -0,0 +1,33 @@ +#ifndef __GST_POLYPUTIL_H__ +#define __GST_POLYPUTIL_H__ + +/* $Id$ */ + +/*** + This file is part of gst-polyp. + + gst-polyp is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 of the + License, or (at your option) any later version. + + gst-polyp is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with gst-polyp; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA. +***/ + +#include <gst/gst.h> +#include <polyp/polypaudio.h> +#include <gst/audio/gstaudiosink.h> + +gboolean gst_polyp_fill_sample_spec(GstRingBufferSpec *spec, pa_sample_spec *ss); + +gchar *gst_polyp_client_name(void); + +#endif |