Blame gst-libs/gst/audio/gstaudioiec61937.h

Packit 0652a1
/* GStreamer audio helper functions for IEC 61937 payloading
Packit 0652a1
 * (c) 2011 Intel Corporation
Packit 0652a1
 *     2011 Collabora Multimedia
Packit 0652a1
 *     2011 Arun Raghavan <arun.raghavan@collabora.co.uk>
Packit 0652a1
 *
Packit 0652a1
 * This library is free software; you can redistribute it and/or
Packit 0652a1
 * modify it under the terms of the GNU Library General Public
Packit 0652a1
 * License as published by the Free Software Foundation; either
Packit 0652a1
 * version 2 of the License, or (at your option) any later version.
Packit 0652a1
 *
Packit 0652a1
 * This library is distributed in the hope that it will be useful,
Packit 0652a1
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 0652a1
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 0652a1
 * Library General Public License for more details.
Packit 0652a1
 *
Packit 0652a1
 * You should have received a copy of the GNU Library General Public
Packit 0652a1
 * License along with this library; if not, write to the
Packit 0652a1
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Packit 0652a1
 * Boston, MA 02110-1301, USA.
Packit 0652a1
 */
Packit 0652a1
Packit 0652a1
#ifndef __GST_AUDIO_IEC61937_H__
Packit 0652a1
#define __GST_AUDIO_IEC61937_H__
Packit 0652a1
Packit 0652a1
#include <gst/audio/gstaudioringbuffer.h>
Packit 0652a1
Packit 0652a1
GST_AUDIO_API
Packit 0652a1
guint       gst_audio_iec61937_frame_size  (const GstAudioRingBufferSpec * spec);
Packit 0652a1
Packit 0652a1
GST_AUDIO_API
Packit 0652a1
gboolean    gst_audio_iec61937_payload     (const guint8 * src, guint src_n,
Packit 0652a1
                                            guint8 * dst, guint dst_n,
Packit 0652a1
                                            const GstAudioRingBufferSpec * spec,
Packit 0652a1
                                            gint endianness);
Packit 0652a1
Packit 0652a1
#endif /* __GST_AUDIO_IEC61937_H__ */