forked from kbinani/libvsq
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMixerItem.hpp
More file actions
71 lines (61 loc) · 1.46 KB
/
MixerItem.hpp
File metadata and controls
71 lines (61 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/**
* MixerItem.hpp
* Copyright © 2012 kbinani
*
* This file is part of libvsq.
*
* libvsq is free software; you can redistribute it and/or
* modify it under the terms of the BSD License.
*
* libvsq is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
#ifndef __MixerItem_hpp__
#define __MixerItem_hpp__
#include "vsqglobal.hpp"
VSQ_BEGIN_NAMESPACE
/**
* @brief @link Mixer の <code>slave</code> 要素に格納されるアイテムを表すクラス
*/
class MixerItem{
public:
/**
* @brief Feder値
*/
int feder;
/**
* @brief Panpot値
*/
int panpot;
/**
* @brief Mute値
*/
int mute;
/**
* @brief Solo値
*/
int solo;
/**
* @brief 各パラメータを指定し、初期化を行う
* @param feder (int) Feder値
* @param panpot (int) Panpot値
* @param mute (int) Mute値
* @param solo (int) Solo値
*/
explicit MixerItem( int feder, int panpot, int mute, int solo ){
this->feder = feder;
this->panpot = panpot;
this->mute = mute;
this->solo = solo;
}
/**
* @brief コピーを作成する
* @return このオブジェクトのコピー
*/
MixerItem clone() const{
return MixerItem( this->feder, this->panpot, this->mute, this->solo );
}
};
VSQ_END_NAMESPACE
#endif