• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* GStreamer
2  * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
3  *                    2001 Thomas <thomas@apestaart.org>
4  *               2005,2006 Wim Taymans <wim@fluendo.com>
5  *                    2013 Sebastian Dröge <sebastian@centricular.com>
6  * Copyright (C) 2020 Huawei Technologies Co., Ltd.
7  *   @Author: Stéphane Cerveau <scerveau@collabora.com>
8  *
9  * audiomixer.c: AudioMixer element, N in, one out, samples are added
10  *
11  * This library is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU Library General Public
13  * License as published by the Free Software Foundation; either
14  * version 2 of the License, or (at your option) any later version.
15  *
16  * This library is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19  * Library General Public License for more details.
20  *
21  * You should have received a copy of the GNU Library General Public
22  * License along with this library; if not, write to the
23  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
24  * Boston, MA 02110-1301, USA.
25  */
26 
27 
28 #include "gstaudiomixerelements.h"
29 
30 #define GST_CAT_DEFAULT gst_audiomixer_debug
31 GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);
32 
33 void
audiomixer_element_init(GstPlugin * plugin)34 audiomixer_element_init (GstPlugin * plugin)
35 {
36   static gsize res = FALSE;
37   if (g_once_init_enter (&res)) {
38     GST_DEBUG_CATEGORY_INIT (GST_CAT_DEFAULT, "audiomixer", 0,
39         "audio mixing element");
40     g_once_init_leave (&res, TRUE);
41   }
42 }
43