Example #1
0
        public void GetSamplesAsync(short[] samples)
        {
            short[] sampin;
            int     numsamp;

            input.GetSamplesSync(out sampin, out numsamp);
            buffer.enqueue_samples(sampin, numsamp);
            buffer.output_samples(samples, samples.Length / 2);
        }
Example #2
0
 public void GetSamples(short[] samples)
 {
     buffer.output_samples(samples, samples.Length / 2);
 }