Lines Matching full:channels
51 opus_int32 frame_size, channels, rate;
64 fprintf (stderr, "Usage: test_opus_custom <rate> <channels> <frame size> "
71 channels = atoi(argv[2]);
104 enc = opus_custom_encoder_create(mode, channels, &err);
112 dec = opus_custom_decoder_create(mode, channels, &err);
128 in = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16));
129 out = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16));
134 err = fread(in, sizeof(short), frame_size*channels, fin);
174 for (i=0;i<ret*channels;i++)
178 for (i=0;i<ret*channels;i++)
185 fwrite(out+skip*channels, sizeof(short), (ret-skip)*channels, fout);
200 rmsd = sqrt(rmsd/(1.0*frame_size*channels*count));