• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* GStreamer
2  * Copyright (C) 2011 Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>.
3  * Copyright (C) 2011 Nokia Corporation. All rights reserved.
4  *   Contact: Stefan Kost <stefan.kost@nokia.com>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Library General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Library General Public License for more details.
15  *
16  * You should have received a copy of the GNU Library General Public
17  * License along with this library; if not, write to the
18  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
19  * Boston, MA 02110-1301, USA.
20  */
21 
22 #ifndef __GST_AUDIO_H__
23 #include <gst/audio/audio.h>
24 #endif
25 
26 #ifndef _GST_AUDIO_UTILS_PRIVATE_H_
27 #define _GST_AUDIO_UTILS_PRIVATE_H_
28 
29 #include <gst/gst.h>
30 
31 G_BEGIN_DECLS
32 
33 /* Element utility functions */
34 G_GNUC_INTERNAL
35 GstCaps *__gst_audio_element_proxy_getcaps (GstElement * element, GstPad * sinkpad,
36                                             GstPad * srcpad, GstCaps * initial_caps,
37                                             GstCaps * filter);
38 
39 G_GNUC_INTERNAL
40 gboolean __gst_audio_encoded_audio_convert (GstAudioInfo * fmt, gint64 bytes,
41                                             gint64 samples, GstFormat src_format,
42                                             gint64 src_value, GstFormat * dest_format,
43                                             gint64 * dest_value);
44 
45 G_GNUC_INTERNAL
46 gboolean __gst_audio_set_thread_priority   (gpointer * handle);
47 
48 G_GNUC_INTERNAL
49 gboolean __gst_audio_restore_thread_priority (gpointer handle);
50 
51 G_END_DECLS
52 
53 #endif
54