mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
385cd9a804
Original commit message from CVS: * sys/oss4/oss4-mixer.c: (gst_oss4_mixer_open): * sys/oss4/oss4-property-probe.c: (gst_oss4_property_probe_find_device_name), (gst_oss4_property_probe_find_device_name_nofd): * sys/oss4/oss4-property-probe.h: * sys/oss4/oss4-sink.c: (gst_oss4_sink_get_property): * sys/oss4/oss4-source.c: (gst_oss4_source_get_property): Make device-name probing in NULL state work better (e.g. for the gnome-control-center sound capplet).
38 lines
1.6 KiB
C
38 lines
1.6 KiB
C
/* GStreamer OSS4 audio property probe interface implementation
|
|
* 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
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef GST_OSS4_PROPERTY_PROBE_H
|
|
#define GST_OSS4_PROPERTY_PROBE_H
|
|
|
|
#include <gst/interfaces/propertyprobe.h>
|
|
|
|
void gst_oss4_add_property_probe_interface (GType type);
|
|
|
|
gboolean gst_oss4_property_probe_find_device_name (GstObject * obj,
|
|
int fd,
|
|
const gchar * device_handle,
|
|
gchar ** device_name);
|
|
|
|
gboolean gst_oss4_property_probe_find_device_name_nofd (GstObject * obj,
|
|
const gchar * device_handle,
|
|
gchar ** device_name);
|
|
|
|
#endif /* GST_OSS4_PROPERTY_PROBE_H */
|
|
|
|
|