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.