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>
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.
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.
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.
22 #ifndef __GST_AUDIO_H__
23 #include <gst/audio/audio.h>
26 #ifndef _GST_AUDIO_UTILS_PRIVATE_H_
27 #define _GST_AUDIO_UTILS_PRIVATE_H_
33 /* Element utility functions */
35 GstCaps *__gst_audio_element_proxy_getcaps (GstElement * element, GstPad * sinkpad,
36 GstPad * srcpad, GstCaps * initial_caps,
40 gboolean __gst_audio_encoded_audio_convert (GstAudioInfo * fmt, gint64 bytes,
41 gint64 samples, GstFormat src_format,
42 gint64 src_value, GstFormat * dest_format,
46 gboolean __gst_audio_set_thread_priority (void);