예제 #1
0
        public XSID(InternalPlayer player, SIDEmu sid)
            : base()
        {
            xsidEvent  = new xSIDEvent(this);
            ch4        = new Channel("CH4", player.m_scheduler, this);
            ch5        = new Channel("CH5", player.m_scheduler, this);
            muted      = (false);
            suppressed = (false);
            wasRunning = (false);
            sidSamples(true);

            m_player = player;
            m_sid    = sid;
            m_gain   = 100;
        }
예제 #2
0
        // deserializing
        protected override void LoadFromReader(EventScheduler context, BinaryReader reader)
        {
            xsidEvent_id = reader.ReadInt32();

            Channel.id   = reader.ReadInt32();
            ch4          = new Channel(context, this, reader, events);
            ch5          = new Channel(context, this, reader, events);
            muted        = reader.ReadBoolean();
            suppressed   = reader.ReadBoolean();
            sidData0x18  = reader.ReadInt16();
            _sidSamples  = reader.ReadBoolean();
            sampleOffset = reader.ReadInt16();
            wasRunning   = reader.ReadBoolean();

            m_gain = reader.ReadInt64();
            m_sid  = new ReSID(context, reader);
        }
예제 #3
0
 public void emulation(SIDEmu sid)
 {
     m_sid = sid;
 }