2011-03-07 15:19:16 +00:00
|
|
|
/* GStreamer audio helper functions for IEC 61937 payloading
|
|
|
|
* (c) 2011 Intel Corporation
|
|
|
|
* 2011 Collabora Multimedia
|
|
|
|
* 2011 Arun Raghavan <arun.raghavan@collabora.co.uk>
|
|
|
|
*
|
|
|
|
* 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-03 23:05:09 +00:00
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
2011-03-07 15:19:16 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __GST_AUDIO_IEC61937_H__
|
|
|
|
#define __GST_AUDIO_IEC61937_H__
|
|
|
|
|
2011-11-11 10:33:15 +00:00
|
|
|
#include <gst/audio/gstaudioringbuffer.h>
|
2011-03-07 15:19:16 +00:00
|
|
|
|
2018-03-13 10:36:56 +00:00
|
|
|
GST_AUDIO_API
|
2011-11-11 16:53:03 +00:00
|
|
|
guint gst_audio_iec61937_frame_size (const GstAudioRingBufferSpec * spec);
|
2017-05-15 23:45:41 +00:00
|
|
|
|
2018-03-13 10:36:56 +00:00
|
|
|
GST_AUDIO_API
|
2011-11-11 16:53:03 +00:00
|
|
|
gboolean gst_audio_iec61937_payload (const guint8 * src, guint src_n,
|
|
|
|
guint8 * dst, guint dst_n,
|
2012-09-19 03:22:45 +00:00
|
|
|
const GstAudioRingBufferSpec * spec,
|
|
|
|
gint endianness);
|
2011-03-07 15:19:16 +00:00
|
|
|
|
|
|
|
#endif /* __GST_AUDIO_IEC61937_H__ */
|