AudioOutput, how does it work
Posted: Thu Oct 29, 2015 10:05 am
Hi,
I want to use your AudioOuput for streaming my data (generated by code) to the speakers but I can't get it to work. The code I have so far.
AudioOutput ao = new AudioOutput();
ao.BitsPerSample = 16;
ao.SamplesPerSecond = 40000;
ao.IsStereo = true;
double[][] d2 = new double[2][];
d2[0] = data.samples;
d2[1] = data.samples;
ao.AddSamples(d2);
ao.Start();
But I hear no sound. What do I miss hear?
I want to use your AudioOuput for streaming my data (generated by code) to the speakers but I can't get it to work. The code I have so far.
AudioOutput ao = new AudioOutput();
ao.BitsPerSample = 16;
ao.SamplesPerSecond = 40000;
ao.IsStereo = true;
double[][] d2 = new double[2][];
d2[0] = data.samples;
d2[1] = data.samples;
ao.AddSamples(d2);
ao.Start();
But I hear no sound. What do I miss hear?