1 /* GStreamer openaptx audio decoder
3 * Copyright (C) 2020 Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
4 * Copyright (C) 2020 Thomas Weißschuh <thomas@t-8ch.de>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 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 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 #ifndef __GST_OPENAPTXDEC_H__
22 #define __GST_OPENAPTXDEC_H__
25 #include <gst/audio/audio.h>
31 #define GST_TYPE_OPENAPTX_DEC (gst_openaptx_dec_get_type())
32 G_DECLARE_FINAL_TYPE (GstOpenaptxDec, gst_openaptx_dec, GST, OPENAPTX_DEC, GstAudioEncoder)
34 struct _GstOpenaptxDec {
35 GstAudioDecoder audio_decoder;
40 struct aptx_context *aptx_c;
43 GST_ELEMENT_REGISTER_DECLARE (openaptxdec)
47 #endif /* __GST_OPENAPTXDEC_H__ */