2008-04-02 20:18:58 +00:00
|
|
|
/* GStreamer OSS4 audio plugin
|
|
|
|
* Copyright (C) 2007-2008 Tim-Philipp Müller <tim centricular net>
|
|
|
|
*
|
|
|
|
* 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
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library 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
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the
|
2012-11-04 00:07:18 +00:00
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
2008-04-02 20:18:58 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GST_OSS4_AUDIO_H
|
2014-02-08 16:25:27 +00:00
|
|
|
#define GST_OSS4_AUDIO_H
|
2008-04-02 20:18:58 +00:00
|
|
|
|
|
|
|
#include <gst/gst.h>
|
2012-12-12 17:35:04 +00:00
|
|
|
#include <gst/audio/audio.h>
|
2008-04-02 20:18:58 +00:00
|
|
|
|
|
|
|
/* This is the minimum version we require */
|
|
|
|
#define GST_MIN_OSS4_VERSION 0x040003
|
|
|
|
|
|
|
|
int gst_oss4_audio_get_version (GstObject * obj, int fd);
|
|
|
|
|
|
|
|
gboolean gst_oss4_audio_check_version (GstObject * obj, int fd);
|
|
|
|
|
|
|
|
GstCaps * gst_oss4_audio_probe_caps (GstObject * obj, int fd);
|
|
|
|
|
2012-04-20 16:13:01 +00:00
|
|
|
gboolean gst_oss4_audio_set_format (GstObject * obj, int fd, GstAudioRingBufferSpec * spec);
|
2008-04-02 20:18:58 +00:00
|
|
|
|
|
|
|
GstCaps * gst_oss4_audio_get_template_caps (void);
|
|
|
|
|
|
|
|
gchar * gst_oss4_audio_find_device (GstObject * oss);
|
|
|
|
|
|
|
|
#endif /* GST_OSS4_AUDIO_H */
|
|
|
|
|
|
|
|
|