public thereminoSlots() { Theremino.InitNanValues(); Theremino.InitPlatformData(); if (Theremino.OperatingSystemIsWindows) { MMF1 = new MemoryMappedFile("Theremino1", 4080); } else { MMF1_Unix = new MemoryMappedFile_Unix(); } }
public thereminoSlots(string SlotFileName, Int32 SizeBytes) { Theremino.InitNanValues(); if (SizeBytes == 0) { SizeBytes = 4080; } Theremino.InitPlatformData(); if (Theremino.OperatingSystemIsWindows) { MMF1 = new MemoryMappedFile(SlotFileName, SizeBytes); } else { MMF1_Unix = new MemoryMappedFile_Unix(); } }