* Test 2 channel signal generation.
*/
@Test
public final void test2Sine1kHz() {
// generate a two channel 1 kHz signal
final ToneGenerator gen = new ToneGenerator(2, 44100, 10*44100);
gen.addTone(new ToneGenerator.Tone(1.f, 1000.f));
final Receiver rec = new Receiver(gen);
rec.request();
assertEquals(2*10*44100, rec._data.length);
assertEquals(10*44100, rec._frames);