public OpenALVoice() { this.sampleBuffer = new SampleBuffer(); this.bufferSize = 441; // 441 samples = 10ms @ 44100Hz this.bufferCount = 1; this.bufferQueue = new Queue <uint>(); al.GenBuffers(1, out sid); }
internal MixingSystem() { this.activeProviders = new LinkedList <SampleProvider>(); this.stoppedProviders = new ArrayList <SampleProvider>(8); this.activeChannels = new LinkedList <Channel>(); this.stoppedChannels = new ArrayList <Channel>(8); this.masterBuffer = new SampleBuffer(64); this.openALVoice = new OpenALVoice(); this.listener = new Listener(); }
public EffectChain(SampleBuffer outputBuffer) { this.outputBuffer = outputBuffer; this.effects = new DoubleLinkedList <Effect>(); }
public StaticChannel(Vector3f location, Listener listener, SampleBuffer outputBuffer) : base(outputBuffer) { this.location = location; this.listener = listener; }