| 1 | /* GSequencer - Advanced GTK Sequencer |
| 2 | * Copyright (C) 2005-2020 Joël Krähemann |
| 3 | * |
| 4 | * This file is part of GSequencer. |
| 5 | * |
| 6 | * GSequencer is free software: you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation, either version 3 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | * GSequencer 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 |
| 14 | * GNU General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with GSequencer. If not, see <http://www.gnu.org/licenses/>. |
| 18 | */ |
| 19 | |
| 20 | #ifndef __AGS_FX_ENVELOPE_CHANNEL_H__ |
| 21 | #define __AGS_FX_ENVELOPE_CHANNEL_H__cxx . . $ `ags/audio/fx/ags_fx_envelope_channel.h:21:9`! |
| 22 | |
| 23 | #include <glib.h> |
| 24 | #include <glib-object.h> |
| 25 | |
| 26 | #include <ags/libags.h>cxx . . $ `<file>/ags/libags.h`/ |
| 27 | |
| 28 | #include <ags/audio/ags_channel.h>cxx . . $ `<file>/ags/audio/ags_channel.h`/ |
| 29 | #include <ags/audio/ags_recall_channel.h>cxx . . $ `<file>/ags/audio/ags_recall_channel.h`/ |
| 30 | |
| 31 | G_BEGIN_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:947:9`! |
| 32 | |
| 33 | #define AGS_TYPE_FX_ENVELOPE_CHANNELcxx . . $ `ags/audio/fx/ags_fx_envelope_channel.h:33:9`! (ags_fx_envelope_channel_get_type()) |
| 34 | #define AGS_FX_ENVELOPE_CHANNELcxx . . $ `ags/audio/fx/ags_fx_envelope_channel.h:34:9`!(obj) (G_TYPE_CHECK_INSTANCE_CASTcxx . . $ `<external>/9567554376676449156/gtype.h:528:9`!((obj), AGS_TYPE_FX_ENVELOPE_CHANNELcxx . . $ `ags/audio/fx/ags_fx_envelope_channel.h:33:9`!, AgsFxEnvelopeChannel)) |
| 35 | #define AGS_FX_ENVELOPE_CHANNEL_CLASScxx . . $ `ags/audio/fx/ags_fx_envelope_channel.h:35:9`!(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FX_ENVELOPE_CHANNEL, AgsFxEnvelopeChannelClass)) |
| 36 | #define AGS_IS_FX_ENVELOPE_CHANNELcxx . . $ `ags/audio/fx/ags_fx_envelope_channel.h:36:9`!(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_FX_ENVELOPE_CHANNEL)) |
| 37 | #define AGS_IS_FX_ENVELOPE_CHANNEL_CLASScxx . . $ `ags/audio/fx/ags_fx_envelope_channel.h:37:9`!(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FX_ENVELOPE_CHANNEL)) |
| 38 | #define AGS_FX_ENVELOPE_CHANNEL_GET_CLASScxx . . $ `ags/audio/fx/ags_fx_envelope_channel.h:38:9`!(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_FX_ENVELOPE_CHANNEL, AgsFxEnvelopeChannelClass)) |
| 39 | |
| 40 | typedef struct _AgsFxEnvelopeChannelcxx . . $ _AgsFxEnvelopeChannel# AgsFxEnvelopeChannelcxx . . $ AgsFxEnvelopeChannel#; |
| 41 | typedef struct _AgsFxEnvelopeChannelClasscxx . . $ _AgsFxEnvelopeChannelClass# AgsFxEnvelopeChannelClasscxx . . $ AgsFxEnvelopeChannelClass#; |
| 42 | |
| 43 | typedef enumcxx . . $ $anonymous_type_a26200c618663d7b_0#{ |
| 44 | AGS_FX_ENVELOPE_CHANNEL_MODE_STREAM_LENGTHcxx . . $ AGS_FX_ENVELOPE_CHANNEL_MODE_STREAM_LENGTH., |
| 45 | AGS_FX_ENVELOPE_CHANNEL_MODE_NOTE_LENGTHcxx . . $ AGS_FX_ENVELOPE_CHANNEL_MODE_NOTE_LENGTH., |
| 46 | AGS_FX_ENVELOPE_CHANNEL_MODE_FIXED_LENGTHcxx . . $ AGS_FX_ENVELOPE_CHANNEL_MODE_FIXED_LENGTH., |
| 47 | }AgsFxEnvelopeChannelModecxx . . $ AgsFxEnvelopeChannelMode#; |
| 48 | |
| 49 | struct _AgsFxEnvelopeChannelcxx . . $ _AgsFxEnvelopeChannel# |
| 50 | { |
| 51 | AgsRecallChannelcxx . . $ AgsRecallChannel# recall_channelcxx . . $ _AgsFxEnvelopeChannel#recall_channel.; |
| 52 | |
| 53 | guintcxx . . $ guint# envelope_modecxx . . $ _AgsFxEnvelopeChannel#envelope_mode.; |
| 54 | |
| 55 | AgsPortcxx . . $ AgsPort# *envelope_enabledcxx . . $ _AgsFxEnvelopeChannel#envelope_enabled.; |
| 56 | |
| 57 | AgsPortcxx . . $ AgsPort# *fixed_lengthcxx . . $ _AgsFxEnvelopeChannel#fixed_length.; |
| 58 | |
| 59 | AgsPortcxx . . $ AgsPort# *attackcxx . . $ _AgsFxEnvelopeChannel#attack.; |
| 60 | AgsPortcxx . . $ AgsPort# *decaycxx . . $ _AgsFxEnvelopeChannel#decay.; |
| 61 | AgsPortcxx . . $ AgsPort# *sustaincxx . . $ _AgsFxEnvelopeChannel#sustain.; |
| 62 | AgsPortcxx . . $ AgsPort# *releasecxx . . $ _AgsFxEnvelopeChannel#release.; |
| 63 | AgsPortcxx . . $ AgsPort# *ratiocxx . . $ _AgsFxEnvelopeChannel#ratio.; |
| 64 | }; |
| 65 | |
| 66 | struct _AgsFxEnvelopeChannelClasscxx . . $ _AgsFxEnvelopeChannelClass# |
| 67 | { |
| 68 | AgsRecallChannelClasscxx . . $ AgsRecallChannelClass# recall_channelcxx . . $ _AgsFxEnvelopeChannelClass#recall_channel.; |
| 69 | }; |
| 70 | |
| 71 | GTypecxx . . $ GType# ags_fx_envelope_channel_get_typecxx . . $ ags_fx_envelope_channel_get_type(7b3bcd0168edf51f).(); |
| 72 | |
| 73 | /* */ |
| 74 | AgsFxEnvelopeChannelcxx . . $ AgsFxEnvelopeChannel#* ags_fx_envelope_channel_newcxx . . $ ags_fx_envelope_channel_new(afad10df7a532aca).(AgsChannelcxx . . $ AgsChannel# *channel); |
| 75 | |
| 76 | G_END_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:948:9`! |
| 77 | |
| 78 | #endif /*__AGS_FX_ENVELOPE_CHANNEL_H__*/ |