BEAST/BSE - Better Audio System and Sound Engine  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
bsemixer.hh
Go to the documentation of this file.
1  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
2 #ifndef __BSE_MIXER_H__
3 #define __BSE_MIXER_H__
4 
5 #include <bse/bseplugin.hh>
6 #include <bse/bsesource.hh>
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif /* __cplusplus */
11 
12 
13 /* --- object type macros --- */
14 #define BSE_TYPE_MIXER (bse_mixer_get_type())
15 #define BSE_MIXER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BSE_TYPE_MIXER, BseMixer))
16 #define BSE_MIXER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), BSE_TYPE_MIXER, BseMixerClass))
17 #define BSE_IS_MIXER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BSE_TYPE_MIXER))
18 #define BSE_IS_MIXER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), BSE_TYPE_MIXER))
19 #define BSE_MIXER_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BSE_TYPE_MIXER, BseMixerClass))
20 #define BSE_MIXER_N_INPUTS (4)
21 
22 struct BseMixer : BseSource {
23  float master_volume_factor;
24  float volume_factors[BSE_MIXER_N_INPUTS];
25 };
27 {};
28 
29 enum
30 {
31  BSE_MIXER_OCHANNEL_MONO
32 };
33 #ifdef __cplusplus
34 }
35 #endif /* __cplusplus */
36 #endif /* __BSE_MIXER_H__ */
Definition: bsemixer.hh:26
Definition: bsemixer.hh:22
Definition: bsesource.hh:84
Definition: bsesource.hh:92