make numbers garbage-collected objects
[swfdec.git] / swfdec / swfdec_microphone.c
blobfe31a2c07de559c0207fb1aacdbe435c8f285ea6
1 /* Swfdec
2 * Copyright (C) 2007 Pekka Lampila <pekka.lampila@iki.fi>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301 USA
20 #ifdef HAVE_CONFIG_H
21 #include "config.h"
22 #endif
24 #include "swfdec_as_internal.h"
25 #include "swfdec_debug.h"
27 SWFDEC_AS_NATIVE (2104, 200, swfdec_microphone_get)
28 void
29 swfdec_microphone_get (SwfdecAsContext *cx, SwfdecAsObject *object, guint argc,
30 SwfdecAsValue *argv, SwfdecAsValue *ret)
32 SWFDEC_STUB ("Microphone.get (static)");
35 SWFDEC_AS_NATIVE (2104, 201, swfdec_microphone_names_get)
36 void
37 swfdec_microphone_names_get (SwfdecAsContext *cx, SwfdecAsObject *object,
38 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
40 SWFDEC_STUB ("Microphone.names (static, get)");
43 SWFDEC_AS_NATIVE (2104, 0, swfdec_microphone_setSilenceLevel)
44 void
45 swfdec_microphone_setSilenceLevel (SwfdecAsContext *cx, SwfdecAsObject *object,
46 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
48 SWFDEC_STUB ("Microphone.setSilenceLevel");
51 SWFDEC_AS_NATIVE (2104, 1, swfdec_microphone_setRate)
52 void
53 swfdec_microphone_setRate (SwfdecAsContext *cx, SwfdecAsObject *object,
54 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
56 SWFDEC_STUB ("Microphone.setRate");
59 SWFDEC_AS_NATIVE (2104, 2, swfdec_microphone_setGain)
60 void
61 swfdec_microphone_setGain (SwfdecAsContext *cx, SwfdecAsObject *object,
62 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
64 SWFDEC_STUB ("Microphone.setGain");
67 SWFDEC_AS_NATIVE (2104, 3, swfdec_microphone_setUseEchoSuppression)
68 void
69 swfdec_microphone_setUseEchoSuppression (SwfdecAsContext *cx,
70 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
71 SwfdecAsValue *ret)
73 SWFDEC_STUB ("Microphone.setUseEchoSuppression");