Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

AudioTrack stream deads for buffersize 22050

so I am doing this :

public IsochonicTone (int min1) : base(Stream.Music,44100, ChannelOut.Stereo, Encoding.Pcm16bit,22050, AudioTrackMode.Stream)

    {
        n2 = 0;
        Frequency = 1000;
        Amplitude = 1;
        Beat = 0;
        min = min1 ;
        //stopped = 0;
    }

but it fails when i set it to 22050.
it works for 44100 and for 10000
but not for 22050...
idk...
I am trying to generate a tone during time and play it without pause . so I want to make my buffer smaller.

Sign In or Register to comment.