[DllImport("MicStreamSelector", ExactSpelling = true)]    public static extern int MicInitializeCustomRateWithGraph(int category, int samplerate, AudioGraph appGraph); // pass graph from app here to mic plugin w/ custom sample rate

        [DllImport("MicStreamSelector")]    public static extern int MicStartStream(bool keepData, bool previewOnDevice, LiveMicCallback micsignal);                            // preview on device will play micstream in speakers
 [DllImport("MicStreamSelector", ExactSpelling = true)]    public static extern int MicInitializeCustomRateWithGraph(int category, int samplerate, AudioGraph appGraph);  // pass graph from app here to mic plugin w/ custom sample rate
 [DllImport("MicStreamSelector")]    public static extern int MicStartStream(bool keepData, bool previewOnDevice, LiveMicCallback micsignal); // preview on device will play micstream in speakers
Example #3
0
 public static extern int MicStartStream(bool keepData, bool previewOnDevice, LiveMicCallback micsignal);
 public static extern int MicStartStream(bool keepData, bool previewOnDevice, LiveMicCallback micsignal);