/*
* VsqMixerEntry.cs
* Copyright (c) 2008-2009 kbinani
*
* This file is part of Boare.Lib.Vsq.
*
* Boare.Lib.Vsq is free software; you can redistribute it and/or
* modify it under the terms of the BSD License.
*
* Boare.Lib.Vsq 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.
*/
#if JAVA
package org.kbinani.vsq;
import java.io.*;
#else
using System;
namespace Boare.Lib.Vsq {
#endif
///
/// VsqMixerのSlave要素に格納される各エントリ
///
#if JAVA
public class VsqMixerEntry implements Cloneable, Serializable {
#else
[Serializable]
public class VsqMixerEntry : ICloneable {
#endif
public int Feder;
public int Panpot;
public int Mute;
public int Solo;
public Object clone() {
VsqMixerEntry res = new VsqMixerEntry( Feder, Panpot, Mute, Solo );
return res;
}
#if !JAVA
public object Clone() {
return clone();
}
#endif
///
/// 各パラメータを指定したコンストラクタ
///
/// Feder値
/// Panpot値
/// Mute値
/// Solo値
public VsqMixerEntry( int feder, int panpot, int mute, int solo ) {
this.Feder = feder;
this.Panpot = panpot;
this.Mute = mute;
this.Solo = solo;
}
#if JAVA
public VsqMixerEntry(){
this( 0, 0, 0, 0 );
#else
public VsqMixerEntry()
: this( 0, 0, 0, 0 ) {
#endif
}
}
#if !JAVA
}
#endif