This is the code I have :
micphone = new Mic();
micphone.StartRecording();
...
public Mic () : base (AudioSource.Mic,11025,ChannelIn.Stereo,Encoding.Pcm16bit,100000)
{
returnSize = 0;
audioData = new byte[32768];
Frequency = 0;
Note1 = "0";
}
int returnSize;
byte[] audioData;
bool flag;
bool flag2;
bool temp1;
double temp9;
double temp3;
public double Frequency { get; set; }
public string Note1 { get; set; }
I did this :
<uses-permission android:name="android.permission.RECORD_AUDIO" /> in AndroidManifest.xml
I read this
http://developer.xamarin.com/guides/android/application_fundamentals/working_with_audio/
so it should be working so why is it not initialized?